8 #ifndef OPENDDS_DCPS_OWNERSHIP_MANAGER_H 9 #define OPENDDS_DCPS_OWNERSHIP_MANAGER_H 11 #ifndef OPENDDS_NO_OWNERSHIP_KIND_EXCLUSIVE 16 #include "dds/DdsDcpsInfrastructureC.h" 20 #if !defined (ACE_LACKS_PRAGMA_ONCE) 41 readers_.insert(reader);
54 , ownership_strength_(ownership_strength)
59 , ownership_strength_(0)
76 InstanceOwnershipWriterInfos;
85 int instance_lock_acquire();
86 int instance_lock_release();
92 void set_instance_map(
const char* type_name,
109 void unregister_reader(
const char* type_name,
115 void remove_writer(
const GUID_t& pub_id);
153 void update_ownership_strength(
const GUID_t& pub_id,
InstanceStateVec instance_states_
manage the states of a received data instance.
ACE_Thread_Mutex instance_lock_
const GUID_t GUID_UNKNOWN
Nil value for GUID.
#define OpenDDS_Dcps_Export
CORBA::Long ownership_strength_
Implements the DDS::DataReader interface.
HANDLE_TYPE_NATIVE InstanceHandle_t
RcHandle< RcObject > map_
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
InstanceMap(const RcHandle< RcObject > &map, DataReaderImpl *reader)
typedef OPENDDS_VECTOR(ActionConnectionRecord) ConnectionRecords
WriterInfo(const GUID_t &pub_id, const CORBA::Long &ownership_strength)
The Internal API and Implementation of OpenDDS.
typedef OPENDDS_MAP(OPENDDS_STRING, OPENDDS_STRING) ValueMap
Helper types and functions for config file parsing.
TypeInstanceMap type_instance_map_
typedef OPENDDS_SET(NetworkAddress) AddrSet
InstanceOwnershipWriterInfos instance_ownership_infos_