OpenDDS  Snapshot(2023/04/28-20:55)
RcEventHandler.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef OPENDDS_DCPS_RCEVENTHANDLER_H
9 #define OPENDDS_DCPS_RCEVENTHANDLER_H
10 
11 #include "ace/Event_Handler.h"
13 #include "RcObject.h"
14 
16 
17 namespace OpenDDS {
18 namespace DCPS {
19 
20 /// Templated Reference counted handle to a pointer.
21 /// A non-DDS specific helper class.
23  : public virtual ACE_Event_Handler
24  , public virtual RcObject {
25 public:
26 
28  {
30  }
31 
33  {
35  return 1;
36  }
37 
39  {
41  return 1;
42  }
43 
44 };
45 
46 
47 
48 } // namespace DCPS
49 } // namespace OpenDDS
50 
52 
53 #endif /* OPENDDS_RCEVENTHANDLER_H */
Reference_Counting_Policy & reference_counting_policy(void)
ACE_Event_Handler::Reference_Count remove_reference()
virtual void _add_ref()
Definition: RcObject.h:69
virtual void _remove_ref()
Definition: RcObject.h:74
ACE_Event_Handler::Reference_Count add_reference()
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28