OpenDDS  Snapshot(2023/04/28-20:55)
StatusConditionImpl.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_STATUSCONDITIONIMPL_H
9 #define OPENDDS_DCPS_STATUSCONDITIONIMPL_H
10 
11 #include "dds/DdsDcpsInfrastructureC.h"
12 #include "ConditionImpl.h"
13 
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 #pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 
19 
20 namespace OpenDDS {
21 namespace DCPS {
22 
23 class EntityImpl;
24 
26  : public virtual OpenDDS::DCPS::LocalObject<DDS::StatusCondition>
27  , public virtual ConditionImpl {
28 public:
30  : parent_(e)
32  {}
33 
34  virtual ~StatusConditionImpl() {}
35 
37 
39 
41 
42  virtual DDS::Entity_ptr get_entity();
43 
44 private:
45  /// Deliberately not a _var, don't hold a reference to the parent since
46  /// it is guaranteed to outlive us and we don't want a cyclical reference
49 };
50 
51 } // namespace DCPS
52 } // namespace OpenDDS
53 
55 
56 #endif
Implements the OpenDDS::DCPS::Entity interfaces.
Definition: EntityImpl.h:37
virtual DDS::ReturnCode_t set_enabled_statuses(DDS::StatusMask mask)
virtual DDS::StatusMask get_enabled_statuses()
const DDS::StatusMask DEFAULT_STATUS_MASK
ACE_CDR::Boolean Boolean
virtual DDS::Entity_ptr get_entity()
unsigned long StatusMask
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28