summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Destroy_Callback.h
blob: 8be318d322729289d72b58f5bf8115f15759dcc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* -*- C++ -*- */
/**
 *  @file Destroy_Callback.h
 *
 *  $Id$
 *
 *  @author Pradeep Gore <pradeep@oomworks.com>
 *
 *
 */

#ifndef TAO_NS_DESTROY_CALLBACK_H
#define TAO_NS_DESTROY_CALLBACK_H
#include "ace/pre.h"

#include "notify_export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

/**
 * @class TAO_NS_Destroy_Callback
 *
 * @brief Interface to be implemented by users of TAO_NS_Refcountable 
 *
 */
class TAO_Notify_Export TAO_NS_Destroy_Callback
{
public:

  /// Called when Refcountable count drops to 0
  virtual void release (void) = 0;
};


#include "ace/post.h"
#endif /* TAO_NS_DESTROY_CALLBACK_H */