OpenDDS
Snapshot(2023/04/07-19:43)
|
Implements the OpenDDS::DCPS::DomainParticipant interfaces. More...
#include <DomainParticipantImpl.h>
Classes | |
class | AutomaticLivelinessTimer |
class | LivelinessTimer |
class | ParticipantLivelinessTimer |
struct | RefCounted_Topic |
class | RepoIdSequence |
Private Types | |
typedef std::pair< DDS::InstanceHandle_t, unsigned int > | HandleWithCounter |
typedef PmfSporadicTask< AutomaticLivelinessTimer > | AutomaticLivelinessTask |
typedef PmfSporadicTask< ParticipantLivelinessTimer > | ParticipantLivelinessTask |
Private Member Functions | |
bool | validate_publisher_qos (DDS::PublisherQos &publisher_qos) |
bool | validate_subscriber_qos (DDS::SubscriberQos &subscriber_qos) |
DDS::Topic_ptr | create_topic_i (const char *topic_name, const char *type_name, const DDS::TopicQos &qos, DDS::TopicListener_ptr a_listener, DDS::StatusMask mask, int topic_mask) |
DDS::Topic_ptr | create_new_topic (const char *topic_name, const char *type_name, const DDS::TopicQos &qos, DDS::TopicListener_ptr a_listener, const DDS::StatusMask &mask, OpenDDS::DCPS::TypeSupport_ptr type_support) |
DDS::ReturnCode_t | delete_topic_i (DDS::Topic_ptr a_topic, bool remove_objref) |
typedef | OPENDDS_MAP_CMP (GUID_t, HandleWithCounter, GUID_tKeyLessThan) CountedHandleMap |
typedef | OPENDDS_MAP (DDS::InstanceHandle_t, GUID_t) RepoIdMap |
typedef | OPENDDS_MAP_CMP (GUID_t, DDS::InstanceHandle_t, GUID_tKeyLessThan) HandleMap |
OPENDDS_MAP (OPENDDS_STRING, RcHandle< FilterEvaluator >) filter_cache_ | |
typedef | OPENDDS_SET_CMP (Recorder_var, VarLess< Recorder >) RecorderSet |
typedef | OPENDDS_SET_CMP (Replayer_var, VarLess< Replayer >) ReplayerSet |
TimeDuration | liveliness_check_interval (DDS::LivelinessQosPolicyKind kind) |
bool | participant_liveliness_activity_after (const MonotonicTimePoint &tv) |
void | signal_liveliness (DDS::LivelinessQosPolicyKind kind) |
virtual int | handle_exception (ACE_HANDLE fd) |
Static Private Attributes | |
static const int | TOPIC_TYPE_HAS_KEYS = 1 |
static const int | TOPIC_TYPELESS = 2 |
Implements the OpenDDS::DCPS::DomainParticipant interfaces.
This class acts as an entrypoint of the service and a factory for publisher, subscriber and topic. It also acts as a container for the publisher, subscriber and topic objects.
See the DDS specification, OMG formal/2015-04-10, for a description of the interface this class is implementing.
Definition at line 77 of file DomainParticipantImpl.h.
|
private |
Definition at line 622 of file DomainParticipantImpl.h.
|
private |
Definition at line 509 of file DomainParticipantImpl.h.
|
private |
Definition at line 642 of file DomainParticipantImpl.h.
typedef Objref_Servant_Pair<PublisherImpl, DDS::Publisher, DDS::Publisher_ptr, DDS::Publisher_var> OpenDDS::DCPS::DomainParticipantImpl::Publisher_Pair |
Definition at line 87 of file DomainParticipantImpl.h.
typedef Objref_Servant_Pair<SubscriberImpl, DDS::Subscriber, DDS::Subscriber_ptr, DDS::Subscriber_var> OpenDDS::DCPS::DomainParticipantImpl::Subscriber_Pair |
Definition at line 84 of file DomainParticipantImpl.h.
typedef Objref_Servant_Pair<TopicImpl, DDS::Topic, DDS::Topic_ptr, DDS::Topic_var> OpenDDS::DCPS::DomainParticipantImpl::Topic_Pair |
Definition at line 90 of file DomainParticipantImpl.h.
typedef TopicMap::iterator OpenDDS::DCPS::DomainParticipantImpl::TopicMapIterator |
Definition at line 124 of file DomainParticipantImpl.h.
typedef std::pair<TopicMapIterator, TopicMapIterator> OpenDDS::DCPS::DomainParticipantImpl::TopicMapIteratorPair |
Definition at line 125 of file DomainParticipantImpl.h.
OpenDDS::DCPS::DomainParticipantImpl::DomainParticipantImpl | ( | InstanceHandleGenerator & | handle_generator, |
const DDS::DomainId_t & | domain_id, | ||
const DDS::DomainParticipantQos & | qos, | ||
DDS::DomainParticipantListener_ptr | a_listener, | ||
const DDS::StatusMask & | mask | ||
) |
Definition at line 92 of file DomainParticipantImpl.cpp.
References monitor_, set_listener(), TheServiceParticipant, and type_lookup_service_.
|
virtual |
Definition at line 133 of file DomainParticipantImpl.cpp.
References access(), ACE_ERROR, ACE_TEXT(), DDS::Security::SecurityException::code, DDS::HANDLE_NIL, LM_ERROR, DDS::Security::SecurityException::message, DDS::Security::SecurityException::minor_code, perm_handle_, security_config_, and OpenDDS::DCPS::security_debug.
void OpenDDS::DCPS::DomainParticipantImpl::add_adjust_liveliness_timers | ( | DataWriterImpl * | writer | ) |
Definition at line 2307 of file DomainParticipantImpl.cpp.
References automatic_liveliness_timer_, and participant_liveliness_timer_.
|
virtual |
Implements DDS::DomainParticipant.
Definition at line 1425 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, last_liveliness_activity_, publishers_, publishers_protector_, DDS::RETCODE_ERROR, DDS::RETCODE_OK, and OpenDDS::DCPS::TimePoint_T< AceClock >::set_to_now().
DDS::InstanceHandle_t OpenDDS::DCPS::DomainParticipantImpl::assign_handle | ( | const GUID_t & | id = GUID_UNKNOWN | ) |
Assign an instance handle, optionally representing a GUID. If a GUID is provided (not GUID_UNKNOWN), other calls to assign_handle for this GUID will return the same handle, as will subsequent calls to lookup_handle.
If this method returns a valid (non-HANDLE_NIL) handle, it must be returned by calling return_handle.
Definition at line 1842 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_GUARD_RETURN, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::empty(), OpenDDS::DCPS::GUID_UNKNOWN, DDS::HANDLE_NIL, handle_protector_, handle_waiters_, handles_, LM_DEBUG, OpenDDS::DCPS::InstanceHandleGenerator::next(), OpenDDS::DCPS::ConditionVariable< Mutex >::notify_all(), participant_handles_, OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::pop_front(), repoIds_, and reusable_handles_.
Referenced by OpenDDS::DCPS::RecorderImpl::add_association(), OpenDDS::DCPS::ReplayerImpl::association_complete_i(), create_publisher(), and create_subscriber().
DDS::InstanceHandle_t OpenDDS::DCPS::DomainParticipantImpl::await_handle | ( | const GUID_t & | id, |
TimeDuration | max_wait = TimeDuration::zero_value |
||
) | const |
Similar to lookup_handle in that it will return a previously mapped handle, but will coorindate with assign_handle when a desired handle has not yet been mapped, but is expected to be. The optional max_wait argument can be supplied to limit the time spent waiting for a handle. If the wait times out, a value of HANDLE_NIL is returned.
Definition at line 1880 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, OpenDDS::DCPS::CvStatus_NoTimeout, DDS::HANDLE_NIL, handle_protector_, handle_waiters_, handles_, OpenDDS::DCPS::TimeDuration::is_zero(), OpenDDS::DCPS::TimePoint_T< MonotonicClock >::now(), TheServiceParticipant, OpenDDS::DCPS::ConditionVariable< Mutex >::wait(), and OpenDDS::DCPS::ConditionVariable< Mutex >::wait_until().
|
virtual |
Check top-level containers for Topic, Subscriber, and Publisher instances.
Recurse into SubscriberImpl and PublisherImpl for DataReader and DataWriter instances respectively.
Definition at line 1100 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, publishers_, publishers_protector_, subscribers_, subscribers_protector_, topics_, and topics_protector_.
|
virtual |
Definition at line 813 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, CORBA::is_nil(), LM_ERROR, name, DDS::RETCODE_OK, topic_descrs_, topics_, and topics_protector_.
|
virtual |
Definition at line 921 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, LM_ERROR, name, topic_descrs_, topics_, and topics_protector_.
|
private |
Definition at line 1942 of file DomainParticipantImpl.cpp.
References access(), ACE_ERROR, ACE_GUARD_RETURN, ACE_NEW_RETURN, ACE_TEXT(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, DDS::Security::SecurityException::code, domain_id_, OpenDDS::DCPS::TopicImpl::enable(), OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, DDS::Security::TopicSecurityAttributes::is_read_protected, DDS::Security::TopicSecurityAttributes::is_write_protected, LM_WARNING, DDS::Security::SecurityException::message, DDS::Security::SecurityException::minor_code, monitor_, OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::obj_, OpenDDS::DCPS::DomainParticipantImpl::RefCounted_Topic::pair_, perm_handle_, qos_, DDS::RETCODE_OK, security_config_, OpenDDS::DCPS::security_debug, OpenDDS::DCPS::topicIsBIT(), topics_, and topics_protector_.
Referenced by create_topic_i(), and find_topic().
|
virtual |
Definition at line 153 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_NEW_RETURN, ACE_TEXT(), assign_handle(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::PublisherImpl::enable(), OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, OpenDDS::DCPS::insert(), LM_ERROR, OpenDDS::DCPS::DomainParticipantImpl::RepoIdSequence::next(), pub_id_gen_, publishers_, publishers_protector_, qos_, and validate_publisher_qos().
Recorder_ptr OpenDDS::DCPS::DomainParticipantImpl::create_recorder | ( | DDS::Topic_ptr | a_topic, |
const DDS::SubscriberQos & | subscriber_qos, | ||
const DDS::DataReaderQos & | datareader_qos, | ||
const RecorderListener_rch & | a_listener, | ||
DDS::StatusMask | mask | ||
) |
Definition at line 2192 of file DomainParticipantImpl.cpp.
References TAO_Objref_Var_T< T >::_retn(), ACE_ERROR, ACE_TEXT(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::RecorderImpl::enable(), OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, OpenDDS::DCPS::RecorderImpl::init(), CORBA::is_nil(), LM_ERROR, qos_, recorders_, recorders_protector_, TheServiceParticipant, OpenDDS::DCPS::SubscriberImpl::validate_datareader_qos(), and validate_subscriber_qos().
Referenced by OpenDDS::DCPS::Service_Participant::create_recorder().
Replayer_ptr OpenDDS::DCPS::DomainParticipantImpl::create_replayer | ( | DDS::Topic_ptr | a_topic, |
const DDS::PublisherQos & | publisher_qos, | ||
const DDS::DataWriterQos & | datawriter_qos, | ||
const ReplayerListener_rch & | a_listener, | ||
DDS::StatusMask | mask | ||
) |
Definition at line 2237 of file DomainParticipantImpl.cpp.
References TAO_Objref_Var_T< T >::_retn(), ACE_ERROR, ACE_TEXT(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::ReplayerImpl::enable(), OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, OpenDDS::DCPS::ReplayerImpl::init(), CORBA::is_nil(), LM_ERROR, qos_, replayers_, replayers_protector_, DDS::RETCODE_OK, TheServiceParticipant, OpenDDS::DCPS::PublisherImpl::validate_datawriter_qos(), and validate_publisher_qos().
Referenced by OpenDDS::DCPS::Service_Participant::create_replayer().
|
virtual |
Definition at line 270 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_NEW_RETURN, ACE_TEXT(), assign_handle(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::SubscriberImpl::enable(), OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, OpenDDS::DCPS::insert(), LM_ERROR, qos_, subscribers_, subscribers_protector_, and validate_subscriber_qos().
Referenced by OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::RTPS::RtpsDiscovery::init_bit(), and OpenDDS::DCPS::StaticDiscovery::init_bit().
|
virtual |
Definition at line 395 of file DomainParticipantImpl.cpp.
References create_topic_i().
Referenced by OpenDDS::DCPS::Discovery::create_bit_topics().
|
private |
Definition at line 431 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), DDS::EntityFactoryQosPolicy::autoenable_created_entities, OpenDDS::DCPS::Qos_Helper::consistent(), create_new_topic(), OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::EntityImpl::enabled_, DDS::DomainParticipantQos::entity_factory, Util::find(), get_default_topic_qos(), TAO::String_var< charT >::in(), CORBA::is_nil(), LM_ERROR, LM_WARNING, OPENDDS_NO_DURABILITY_KIND_TRANSIENT_PERSISTENT_COMPATIBILITY_CHECK, OPENDDS_NO_DURABILITY_SERVICE_COMPATIBILITY_CHECK, OPENDDS_NO_OWNERSHIP_KIND_EXCLUSIVE_COMPATIBILITY_CHECK, OPENDDS_NO_OWNERSHIP_PROFILE_COMPATIBILITY_CHECK, qos_, Registered_Data_Types, DDS::RETCODE_OK, ACE_OS::strcmp(), topic_descrs_, TOPIC_QOS_DEFAULT, topics_, topics_protector_, and OpenDDS::DCPS::Qos_Helper::valid().
Referenced by create_topic(), and create_typeless_topic().
DDS::Topic_ptr OpenDDS::DCPS::DomainParticipantImpl::create_typeless_topic | ( | const char * | topic_name, |
const char * | type_name, | ||
bool | type_has_keys, | ||
const DDS::TopicQos & | qos, | ||
DDS::TopicListener_ptr | a_listener, | ||
DDS::StatusMask | mask | ||
) |
Definition at line 411 of file DomainParticipantImpl.cpp.
References create_topic_i(), TOPIC_TYPE_HAS_KEYS, and TOPIC_TYPELESS.
Referenced by OpenDDS::DCPS::Service_Participant::create_typeless_topic().
|
inline |
Definition at line 413 of file DomainParticipantImpl.h.
|
virtual |
Implements DDS::DomainParticipant.
Definition at line 1053 of file DomainParticipantImpl.cpp.
References ACE_Thread_Mutex::acquire(), bit_subscriber_, domain_id_, OpenDDS::DCPS::EntityImpl::get_deleted(), handle_exception(), prepare_to_delete_datawriters(), Registered_Data_Types, ACE_Thread_Mutex::release(), DDS::RETCODE_ERROR, ACE_Thread::self(), OpenDDS::DCPS::EntityImpl::set_deleted(), set_wait_pending_deadline(), shutdown_complete_, shutdown_condition_, shutdown_mutex_, shutdown_result_, TheServiceParticipant, ACE_OS::thr_equal(), and OpenDDS::DCPS::ConditionVariable< Mutex >::wait().
Referenced by OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_all_participants(), and OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant().
|
virtual |
Definition at line 873 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::TopicDescriptionImpl::has_entity_refs(), TAO::String_var< charT >::in(), LM_ERROR, name, DDS::RETCODE_ERROR, DDS::RETCODE_OK, DDS::RETCODE_OUT_OF_RESOURCES, DDS::RETCODE_PRECONDITION_NOT_MET, topic_descrs_, and topics_protector_.
|
virtual |
Definition at line 966 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::TopicDescriptionImpl::has_entity_refs(), TAO::String_var< charT >::in(), LM_ERROR, DDS::RETCODE_ERROR, DDS::RETCODE_OK, DDS::RETCODE_OUT_OF_RESOURCES, DDS::RETCODE_PRECONDITION_NOT_MET, topic_descrs_, and topics_protector_.
|
virtual |
Definition at line 206 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, OpenDDS::DCPS::PublisherImpl::delete_contained_entities(), OpenDDS::DCPS::PublisherImpl::is_clean(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, publishers_, publishers_protector_, DDS::RETCODE_ERROR, DDS::RETCODE_OK, DDS::RETCODE_PRECONDITION_NOT_MET, and OpenDDS::DCPS::retcode_to_string().
Referenced by handle_exception().
void OpenDDS::DCPS::DomainParticipantImpl::delete_recorder | ( | Recorder_ptr | recorder | ) |
Definition at line 2291 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::Recorder::_duplicate(), recorders_, and recorders_protector_.
Referenced by OpenDDS::DCPS::Service_Participant::delete_recorder().
void OpenDDS::DCPS::DomainParticipantImpl::delete_replayer | ( | Replayer_ptr | replayer | ) |
Definition at line 2299 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::Replayer::_duplicate(), replayers_, and replayers_protector_.
Referenced by OpenDDS::DCPS::Service_Participant::delete_replayer().
|
virtual |
Definition at line 319 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, OpenDDS::DCPS::SubscriberImpl::delete_contained_entities(), OpenDDS::DCPS::SubscriberImpl::is_clean(), LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, DDS::RETCODE_ERROR, DDS::RETCODE_OK, DDS::RETCODE_PRECONDITION_NOT_MET, OpenDDS::DCPS::retcode_to_string(), subscribers_, and subscribers_protector_.
Referenced by handle_exception().
|
virtual |
Definition at line 595 of file DomainParticipantImpl.cpp.
References delete_topic_i().
|
private |
Delete the topic with option of whether the topic object reference should be removed.
Definition at line 601 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_GUARD_RETURN, OpenDDS::DCPS::DCPS_debug_level, domain_id_, get_domain_id(), OpenDDS::DCPS::TopicImpl::get_id(), get_id(), OpenDDS::DCPS::TopicDescriptionImpl::get_name(), OpenDDS::DCPS::TopicDescriptionImpl::get_participant(), OpenDDS::DCPS::TopicDescriptionImpl::has_entity_refs(), TAO::String_var< charT >::in(), LM_DEBUG, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::DCPS::LogLevel::Notice, OpenDDS::DCPS::REMOVED, DDS::RETCODE_ERROR, DDS::RETCODE_OK, DDS::RETCODE_PRECONDITION_NOT_MET, TheServiceParticipant, topics_, topics_protector_, and OpenDDS::DCPS::topicstatus_to_string().
Referenced by delete_topic(), and handle_exception().
void OpenDDS::DCPS::DomainParticipantImpl::deref_filter_eval | ( | const char * | filter | ) |
Definition at line 1038 of file DomainParticipantImpl.cpp.
References ACE_GUARD, and filter_cache_lock_.
|
virtual |
Implements DDS::Entity.
Definition at line 1617 of file DomainParticipantImpl.cpp.
References access(), ACE_DEBUG, ACE_ERROR, ACE_TEXT(), DDS::Security::ParticipantSecurityAttributes::allow_unauthenticated_participants, DDS::EntityFactoryQosPolicy::autoenable_created_entities, bit_subscriber_, DDS::Security::SecurityException::code, OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, DDS::DomainParticipantQos::entity_factory, OpenDDS::DCPS::AddDomainStatus::federated, federated_, Util::filter_properties(), OpenDDS::DCPS::GUID_UNKNOWN, DDS::HANDLE_NIL, OpenDDS::DCPS::AddDomainStatus::id, id_handle_, OpenDDS::DCPS::EntityImpl::is_enabled(), OpenDDS::DCPS::RcHandle< T >::is_nil(), DDS::Security::ParticipantSecurityAttributes::is_rtps_protected, LM_DEBUG, LM_ERROR, DDS::Security::SecurityException::message, DDS::Security::SecurityException::minor_code, monitor_, part_crypto_handle_, perm_handle_, DDS::DomainParticipantQos::property, publishers_, qos_, DDS::RETCODE_ERROR, DDS::Security::RETCODE_NOT_ALLOWED_BY_SECURITY, DDS::RETCODE_OK, security_config_, OpenDDS::DCPS::security_debug, OpenDDS::DCPS::EntityImpl::set_enabled(), subscribers_, TheSecurityRegistry, TheServiceParticipant, TheTransientKludge, topics_, type_lookup_service_, DDS::Security::VALIDATION_OK, value, and DDS::PropertyQosPolicy::value.
|
inline |
Definition at line 371 of file DomainParticipantImpl.h.
Referenced by OpenDDS::DCPS::InfoRepoDiscovery::init_bit().
|
virtual |
Definition at line 710 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), create_new_topic(), OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::DEFAULT_STATUS_MASK, domain_id_, OpenDDS::DCPS::FOUND, get_id(), TAO::String_var< charT >::in(), OpenDDS::DCPS::INTERNAL_ERROR, CORBA::is_nil(), LM_DEBUG, LM_ERROR, OpenDDS::DCPS::TimePoint_T< MonotonicClock >::now(), TAO::String_var< charT >::out(), Registered_Data_Types, ACE_Time_Value::sec(), ACE_OS::sleep(), TheServiceParticipant, and OpenDDS::DCPS::TimeDuration::value().
|
virtual |
Implements DDS::DomainParticipant.
Definition at line 383 of file DomainParticipantImpl.cpp.
References bit_subscriber_.
Referenced by OpenDDS::DCPS::instance_handle_to_bit_data().
RcHandle< BitSubscriber > OpenDDS::DCPS::DomainParticipantImpl::get_builtin_subscriber_proxy | ( | ) |
Definition at line 389 of file DomainParticipantImpl.cpp.
References bit_subscriber_.
|
virtual |
Set Argument to Current System Time
Definition at line 1514 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::TimePoint_T< SystemClock >::now(), DDS::RETCODE_OK, and OpenDDS::DCPS::TimePoint_T< AceClock >::to_dds_time().
|
virtual |
Definition at line 1464 of file DomainParticipantImpl.cpp.
References default_publisher_qos_, and DDS::RETCODE_OK.
Referenced by validate_publisher_qos().
|
virtual |
Definition at line 1485 of file DomainParticipantImpl.cpp.
References default_subscriber_qos_, and DDS::RETCODE_OK.
Referenced by validate_subscriber_qos().
|
virtual |
Definition at line 1506 of file DomainParticipantImpl.cpp.
References default_topic_qos_, and DDS::RETCODE_OK.
Referenced by create_topic_i().
|
virtual |
Definition at line 1545 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, bit_subscriber_, OpenDDS::DCPS::GuidConverter::entityKind(), handle_protector_, handles_, OpenDDS::DCPS::KIND_PARTICIPANT, DDS::RETCODE_ERROR, and DDS::RETCODE_PRECONDITION_NOT_MET.
|
virtual |
Definition at line 1523 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, dp_id_, OpenDDS::DCPS::GuidConverter::entityKind(), handle_protector_, handles_, ignored_participants_, OpenDDS::DCPS::KIND_PARTICIPANT, OpenDDS::DCPS::push_back(), DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
|
virtual |
Definition at line 1591 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, bit_subscriber_, handle_protector_, handles_, OpenDDS::DCPS::GuidConverter::isTopic(), DDS::RETCODE_ERROR, and DDS::RETCODE_PRECONDITION_NOT_MET.
|
virtual |
Definition at line 1571 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, handle_protector_, handles_, ignored_topics_, OpenDDS::DCPS::GuidConverter::isTopic(), OpenDDS::DCPS::push_back(), DDS::RETCODE_ERROR, and DDS::RETCODE_OK.
|
virtual |
Reimplemented from OpenDDS::DCPS::EntityImpl.
Definition at line 1419 of file DomainParticipantImpl.cpp.
References domain_id_.
Referenced by OpenDDS::DCPS::MonitorFactoryImpl::create_dp_monitor(), OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), delete_topic_i(), OpenDDS::DCPS::TopicImpl::enable(), OpenDDS::RTPS::RtpsDiscovery::fini_bit(), OpenDDS::DCPS::StaticDiscovery::fini_bit(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::ReplayerImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), OpenDDS::RTPS::RtpsDiscovery::init_bit(), OpenDDS::DCPS::StaticDiscovery::init_bit(), OpenDDS::DCPS::DPMonitorImpl::report(), OpenDDS::DCPS::TopicImpl::set_qos(), OpenDDS::DCPS::ReplayerImpl::set_qos(), and OpenDDS::DCPS::RecorderImpl::set_qos().
DDS::ReturnCode_t OpenDDS::DCPS::DomainParticipantImpl::get_dynamic_type | ( | DDS::DynamicType_var & | type, |
const DDS::BuiltinTopicKey_t & | key | ||
) |
Definition at line 2617 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, OpenDDS::DCPS::bit_key_to_guid(), OpenDDS::XTypes::TypeInformation::complete, OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::XTypes::dynamic_type_is_valid(), LM_DEBUG, LM_NOTICE, OpenDDS::DCPS::log_level, OpenDDS::XTypes::TypeInformation::minimal, OpenDDS::DCPS::LogLevel::Notice, OPENDDS_END_VERSIONED_NAMESPACE_DECL, DDS::RETCODE_ERROR, DDS::RETCODE_NO_DATA, DDS::RETCODE_OK, OpenDDS::DCPS::retcode_to_string(), DDS::RETCODE_UNSUPPORTED, OpenDDS::XTypes::DynamicTypeImpl::set_complete_type_identifier(), OpenDDS::XTypes::DynamicTypeImpl::set_minimal_type_identifier(), OpenDDS::XTypes::DynamicTypeImpl::set_preset_type_info(), TheServiceParticipant, OpenDDS::XTypes::TypeIdentifierWithSize::type_id, type_lookup_service_, OpenDDS::XTypes::TypeIdentifierWithDependencies::typeid_with_size, OpenDDS::XTypes::TypeIdentifierWithSize::typeobject_serialized_size, and OpenDDS::DCPS::TypeObjReqCond::wait().
RcHandle< FilterEvaluator > OpenDDS::DCPS::DomainParticipantImpl::get_filter_eval | ( | const char * | filter | ) |
Definition at line 1015 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_GUARD_RETURN, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, filter_cache_lock_, and LM_ERROR.
|
virtual |
Following methods are not the idl interfaces and are local operations. Return the id given by discovery.
Reimplemented from OpenDDS::DCPS::EntityImpl.
Definition at line 1824 of file DomainParticipantImpl.cpp.
References dp_id_, and OPENDDS_STRING.
Referenced by OpenDDS::DCPS::RecorderImpl::cleanup(), OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant(), delete_topic_i(), OpenDDS::DCPS::TopicImpl::enable(), OpenDDS::DCPS::RecorderImpl::enable(), OpenDDS::DCPS::ReplayerImpl::enable(), find_topic(), OpenDDS::RTPS::RtpsDiscovery::fini_bit(), OpenDDS::DCPS::StaticDiscovery::fini_bit(), OpenDDS::RTPS::RtpsDiscovery::init_bit(), OpenDDS::DCPS::StaticDiscovery::init_bit(), OpenDDS::FaceTSS::populate_header_received(), OpenDDS::DCPS::SubscriberMonitorImpl::report(), OpenDDS::DCPS::TopicMonitorImpl::report(), OpenDDS::DCPS::DPMonitorImpl::report(), OpenDDS::DCPS::PublisherMonitorImpl::report(), OpenDDS::DCPS::TopicImpl::set_qos(), OpenDDS::DCPS::ReplayerImpl::set_qos(), OpenDDS::DCPS::RecorderImpl::set_qos(), and signal_liveliness().
|
virtual |
Implements OpenDDS::DCPS::EntityImpl.
Definition at line 1837 of file DomainParticipantImpl.cpp.
References dp_id_, OpenDDS::DCPS::EntityImpl::get_entity_instance_handle(), and OpenDDS::DCPS::rchandle_from().
|
virtual |
Implements DDS::DomainParticipant.
Definition at line 1219 of file DomainParticipantImpl.cpp.
References listener_, and listener_mutex_.
|
virtual |
Definition at line 1199 of file DomainParticipantImpl.cpp.
References qos_, and DDS::RETCODE_OK.
GUID_t OpenDDS::DCPS::DomainParticipantImpl::get_repoid | ( | DDS::InstanceHandle_t | id | ) | const |
Obtain a GUID representing a local hande.
Definition at line 1934 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, OpenDDS::DCPS::GUID_UNKNOWN, handle_protector_, and repoIds_.
Referenced by ignore_participant(), ignore_publication(), ignore_subscription(), ignore_topic(), OpenDDS::FaceTSS::populate_header_received(), and OpenDDS::DCPS::ReplayerImpl::write().
|
inline |
Definition at line 405 of file DomainParticipantImpl.h.
void OpenDDS::DCPS::DomainParticipantImpl::get_topic_ids | ( | TopicIdVec & | topics | ) |
Populates an std::vector with the GUID_t of the topics this participant has created/found.
Definition at line 2078 of file DomainParticipantImpl.cpp.
References ACE_GUARD, topics_, and topics_protector_.
Referenced by OpenDDS::DCPS::DPMonitorImpl::report().
|
inline |
Definition at line 402 of file DomainParticipantImpl.h.
Referenced by OpenDDS::DCPS::RecorderImpl::add_to_dynamic_type_map(), OpenDDS::DCPS::Service_Participant::get_type_information(), and OpenDDS::DCPS::Service_Participant::get_type_object().
OPENDDS_STRING OpenDDS::DCPS::DomainParticipantImpl::get_unique_id | ( | void | ) |
Return a unique string based on repo ID.
Definition at line 1830 of file DomainParticipantImpl.cpp.
References dp_id_, and OpenDDS::DCPS::GuidConverter::uniqueParticipantId().
|
privatevirtual |
Reimplemented from ACE_Event_Handler.
Definition at line 2455 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, ACE_Thread_Mutex::acquire(), automatic_liveliness_timer_, OpenDDS::DCPS::RecorderImpl::cleanup(), OpenDDS::DCPS::ReplayerImpl::cleanup(), delete_publisher(), delete_subscriber(), delete_topic_i(), OpenDDS::DCPS::ConditionVariable< Mutex >::notify_all(), participant_liveliness_timer_, publishers_, publishers_protector_, recorders_, recorders_protector_, ACE_Thread_Mutex::release(), replayers_, replayers_protector_, DDS::RETCODE_ERROR, DDS::RETCODE_OK, shutdown_complete_, shutdown_condition_, shutdown_mutex_, shutdown_result_, subscribers_, subscribers_protector_, TheServiceParticipant, topics_, and topics_protector_.
Referenced by delete_contained_entities().
|
virtual |
Definition at line 1226 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::DCPS::EntityImpl::enabled_, get_repoid(), ignored_participants_, LM_DEBUG, LM_ERROR, DDS::RETCODE_ERROR, DDS::RETCODE_NOT_ENABLED, DDS::RETCODE_OK, DDS::RETCODE_UNSUPPORTED, and TheServiceParticipant.
|
virtual |
Definition at line 1335 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::DCPS::EntityImpl::enabled_, get_repoid(), LM_DEBUG, LM_ERROR, DDS::RETCODE_ERROR, DDS::RETCODE_NOT_ENABLED, DDS::RETCODE_OK, DDS::RETCODE_UNSUPPORTED, and TheServiceParticipant.
|
virtual |
Definition at line 1377 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::DCPS::EntityImpl::enabled_, get_repoid(), LM_DEBUG, LM_ERROR, DDS::RETCODE_ERROR, DDS::RETCODE_NOT_ENABLED, DDS::RETCODE_OK, DDS::RETCODE_UNSUPPORTED, and TheServiceParticipant.
|
virtual |
Definition at line 1285 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::DCPS::EntityImpl::enabled_, get_repoid(), ignored_topics_, LM_DEBUG, LM_ERROR, DDS::RETCODE_NOT_ENABLED, DDS::RETCODE_OK, DDS::RETCODE_UNSUPPORTED, and TheServiceParticipant.
bool OpenDDS::DCPS::DomainParticipantImpl::is_clean | ( | String * | leftover_entities = 0 | ) | const |
Check to see if the Participant has any entities left in it. leftover_entities will be set with a description of what is left.
Definition at line 2026 of file DomainParticipantImpl.cpp.
References publishers_, subscribers_, TheTransientKludge, OpenDDS::DCPS::to_dds_string(), OpenDDS::DCPS::topicIsBIT(), and topics_.
Referenced by OpenDDS::DCPS::DomainParticipantFactoryImpl::delete_participant().
DDS::DomainParticipantListener_ptr OpenDDS::DCPS::DomainParticipantImpl::listener_for | ( | DDS::StatusKind | kind | ) |
This is used to retrieve the listener for a certain status change. If this DomainParticipant has a registered listener and the status kind is in the listener mask then the listener is returned. Otherwise, return nil.
Definition at line 2067 of file DomainParticipantImpl.cpp.
References CORBA::is_nil(), listener_, listener_mask_, and listener_mutex_.
Referenced by OpenDDS::DCPS::TopicImpl::inconsistent_topic().
|
private |
Definition at line 2413 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, OpenDDS::DCPS::TimeDuration::max_value, publishers_, and publishers_protector_.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::LivelinessTimer::execute().
DDS::InstanceHandle_t OpenDDS::DCPS::DomainParticipantImpl::lookup_handle | ( | const GUID_t & | id | ) | const |
Get a handle that was previously mapped to a GUID or HANDLE_NIL if none exists.
Handles returned from this method should not be passed to return_handle.
Definition at line 1895 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, DDS::HANDLE_NIL, handle_protector_, and handles_.
Referenced by OpenDDS::DCPS::RecorderImpl::lookup_instance_handles(), OpenDDS::DCPS::ReplayerImpl::lookup_instance_handles(), and OpenDDS::DCPS::RecorderImpl::repoid_to_bit_key().
|
virtual |
Definition at line 787 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, Util::find(), topic_descrs_, topics_, and topics_protector_.
Referenced by OpenDDS::DCPS::InfoRepoDiscovery::init_bit(), OpenDDS::RTPS::RtpsDiscovery::init_bit(), and OpenDDS::DCPS::StaticDiscovery::init_bit().
typedef OpenDDS::DCPS::DomainParticipantImpl::OPENDDS_MAP | ( | OPENDDS_STRING | , |
DDS::TopicDescription_var | |||
) |
|
private |
|
private |
|
private |
|
private |
typedef OpenDDS::DCPS::DomainParticipantImpl::OPENDDS_MULTIMAP | ( | OPENDDS_STRING | , |
RefCounted_Topic | |||
) |
typedef OpenDDS::DCPS::DomainParticipantImpl::OPENDDS_SET | ( | Subscriber_Pair | ) |
typedef OpenDDS::DCPS::DomainParticipantImpl::OPENDDS_SET | ( | Publisher_Pair | ) |
|
private |
|
private |
typedef OpenDDS::DCPS::DomainParticipantImpl::OPENDDS_VECTOR | ( | GUID_t | ) |
OwnershipManager * OpenDDS::DCPS::DomainParticipantImpl::ownership_manager | ( | ) |
Accessor for ownership manager.
Definition at line 2094 of file DomainParticipantImpl.cpp.
References ACE_ERROR, bit_subscriber_, LM_WARNING, OpenDDS::DCPS::log_level, owner_man_, and OpenDDS::DCPS::LogLevel::Warning.
Referenced by OpenDDS::DCPS::RecorderImpl::init().
|
private |
Definition at line 2430 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, OpenDDS::DCPS::TimePoint_T< AceClock >::is_zero(), last_liveliness_activity_, publishers_, and publishers_protector_.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::ParticipantLivelinessTimer::dispatch().
|
inline |
Definition at line 409 of file DomainParticipantImpl.h.
bool OpenDDS::DCPS::DomainParticipantImpl::prepare_to_delete_datawriters | ( | ) |
Definition at line 2594 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, publishers_, and publishers_protector_.
Referenced by delete_contained_entities().
void OpenDDS::DCPS::DomainParticipantImpl::remove_adjust_liveliness_timers | ( | ) |
Definition at line 2314 of file DomainParticipantImpl.cpp.
References automatic_liveliness_timer_, and participant_liveliness_timer_.
void OpenDDS::DCPS::DomainParticipantImpl::return_handle | ( | DDS::InstanceHandle_t | handle | ) |
Return a previously-assigned handle.
Definition at line 1902 of file DomainParticipantImpl.cpp.
References ACE_DEBUG, ACE_GUARD, OpenDDS::DCPS::DisjointSequence::OrderedRanges< T >::add(), OpenDDS::DCPS::DCPS_debug_level, handle_protector_, handles_, LM_DEBUG, repoIds_, and reusable_handles_.
Referenced by OpenDDS::DCPS::ReplayerImpl::remove_associations(), and OpenDDS::DCPS::RecorderImpl::remove_associations_i().
|
virtual |
Definition at line 1451 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::Qos_Helper::consistent(), default_publisher_qos_, DDS::RETCODE_INCONSISTENT_POLICY, DDS::RETCODE_OK, and OpenDDS::DCPS::Qos_Helper::valid().
|
virtual |
Definition at line 1472 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::Qos_Helper::consistent(), default_subscriber_qos_, DDS::RETCODE_INCONSISTENT_POLICY, DDS::RETCODE_OK, and OpenDDS::DCPS::Qos_Helper::valid().
|
virtual |
Definition at line 1493 of file DomainParticipantImpl.cpp.
References OpenDDS::DCPS::Qos_Helper::consistent(), default_topic_qos_, DDS::RETCODE_INCONSISTENT_POLICY, DDS::RETCODE_OK, and OpenDDS::DCPS::Qos_Helper::valid().
|
virtual |
Definition at line 1207 of file DomainParticipantImpl.cpp.
References listener_, listener_mask_, listener_mutex_, and DDS::RETCODE_OK.
Referenced by DomainParticipantImpl().
|
virtual |
Definition at line 1161 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::Qos_Helper::changeable(), OpenDDS::DCPS::Qos_Helper::consistent(), OpenDDS::DCPS::DCPS_debug_level, domain_id_, dp_id_, OpenDDS::DCPS::EntityImpl::enabled_, LM_ERROR, qos_, DDS::RETCODE_ERROR, DDS::RETCODE_IMMUTABLE_POLICY, DDS::RETCODE_INCONSISTENT_POLICY, DDS::RETCODE_OK, TheServiceParticipant, and OpenDDS::DCPS::Qos_Helper::valid().
bool OpenDDS::DCPS::DomainParticipantImpl::set_wait_pending_deadline | ( | const MonotonicTimePoint & | deadline | ) |
Definition at line 2605 of file DomainParticipantImpl.cpp.
References ACE_GUARD_RETURN, publishers_, and publishers_protector_.
Referenced by delete_contained_entities().
|
private |
Definition at line 2449 of file DomainParticipantImpl.cpp.
References domain_id_, get_id(), and TheServiceParticipant.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::AutomaticLivelinessTimer::dispatch(), and OpenDDS::DCPS::DomainParticipantImpl::ParticipantLivelinessTimer::dispatch().
void OpenDDS::DCPS::DomainParticipantImpl::update_ownership_strength | ( | const GUID_t & | pub_id, |
const CORBA::Long & | ownership_strength | ||
) |
Called upon receiving new BIT publication data to update the ownership strength of a publication.
Definition at line 2110 of file DomainParticipantImpl.cpp.
References ACE_GUARD, OpenDDS::DCPS::EntityImpl::get_deleted(), subscribers_, and subscribers_protector_.
Referenced by OpenDDS::DCPS::BitPubListenerImpl::on_data_available().
|
private |
Definition at line 2147 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::Qos_Helper::consistent(), OpenDDS::DCPS::DCPS_debug_level, get_default_publisher_qos(), LM_ERROR, OPENDDS_NO_OBJECT_MODEL_PROFILE_COMPATIBILITY_CHECK, PUBLISHER_QOS_DEFAULT, and OpenDDS::DCPS::Qos_Helper::valid().
Referenced by create_publisher(), and create_replayer().
|
private |
Definition at line 2169 of file DomainParticipantImpl.cpp.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::Qos_Helper::consistent(), OpenDDS::DCPS::DCPS_debug_level, get_default_subscriber_qos(), LM_ERROR, OPENDDS_NO_OBJECT_MODEL_PROFILE_COMPATIBILITY_CHECK, SUBSCRIBER_QOS_DEFAULT, and OpenDDS::DCPS::Qos_Helper::valid().
Referenced by create_recorder(), and create_subscriber().
|
private |
Definition at line 623 of file DomainParticipantImpl.h.
|
private |
Definition at line 621 of file DomainParticipantImpl.h.
Referenced by add_adjust_liveliness_timers(), handle_exception(), and remove_adjust_liveliness_timers().
|
private |
The built in topic subscriber.
Definition at line 542 of file DomainParticipantImpl.h.
Referenced by delete_contained_entities(), enable(), get_builtin_subscriber(), get_builtin_subscriber_proxy(), get_discovered_participant_data(), get_discovered_topic_data(), and ownership_manager().
|
private |
The default publisher qos.
Definition at line 466 of file DomainParticipantImpl.h.
Referenced by get_default_publisher_qos(), and set_default_publisher_qos().
|
private |
The default subscriber qos.
Definition at line 468 of file DomainParticipantImpl.h.
Referenced by get_default_subscriber_qos(), and set_default_subscriber_qos().
|
private |
The default topic qos.
Definition at line 464 of file DomainParticipantImpl.h.
Referenced by get_default_topic_qos(), and set_default_topic_qos().
|
private |
The id of the domain that creates this participant.
Definition at line 490 of file DomainParticipantImpl.h.
Referenced by create_new_topic(), delete_contained_entities(), delete_topic_i(), enable(), find_topic(), get_domain_id(), get_dynamic_type(), ignore_participant(), ignore_publication(), ignore_subscription(), ignore_topic(), set_qos(), and signal_liveliness().
|
private |
This participant id given by discovery.
Definition at line 492 of file DomainParticipantImpl.h.
Referenced by enable(), get_discovered_participants(), get_dynamic_type(), get_id(), get_instance_handle(), get_unique_id(), ignore_participant(), ignore_publication(), ignore_subscription(), ignore_topic(), and set_qos().
|
private |
Whether this DomainParticipant is attached to a federated repository.
Definition at line 496 of file DomainParticipantImpl.h.
Referenced by enable().
|
private |
Definition at line 560 of file DomainParticipantImpl.h.
Referenced by deref_filter_eval(), and get_filter_eval().
|
mutableprivate |
Protect the handle collection.
Definition at line 531 of file DomainParticipantImpl.h.
Referenced by assign_handle(), await_handle(), get_discovered_participant_data(), get_discovered_participants(), get_discovered_topic_data(), get_discovered_topics(), get_repoid(), lookup_handle(), and return_handle().
|
mutableprivate |
Definition at line 533 of file DomainParticipantImpl.h.
Referenced by assign_handle(), and await_handle().
|
private |
Instance handles assigned which are mapped to GUIDs (use handle_protector_)
Definition at line 514 of file DomainParticipantImpl.h.
Referenced by assign_handle(), await_handle(), get_discovered_participant_data(), get_discovered_participants(), get_discovered_topic_data(), get_discovered_topics(), lookup_handle(), and return_handle().
|
private |
This participant id handle given by authentication.
Definition at line 482 of file DomainParticipantImpl.h.
Referenced by enable().
|
private |
Collection of ignored participants.
Definition at line 521 of file DomainParticipantImpl.h.
Referenced by get_discovered_participants(), and ignore_participant().
|
private |
Collection of ignored topics.
Definition at line 523 of file DomainParticipantImpl.h.
Referenced by get_discovered_topics(), and ignore_topic().
|
private |
Definition at line 649 of file DomainParticipantImpl.h.
Referenced by assert_liveliness(), and participant_liveliness_activity_after().
|
private |
Used to notify the entity for relevant events.
Definition at line 475 of file DomainParticipantImpl.h.
Referenced by get_listener(), listener_for(), and set_listener().
|
private |
The StatusKind bit mask indicates which status condition change can be notified by the listener of this entity.
Definition at line 478 of file DomainParticipantImpl.h.
Referenced by listener_for(), and set_listener().
|
private |
Mutex to protect listener info.
Definition at line 473 of file DomainParticipantImpl.h.
Referenced by get_listener(), listener_for(), and set_listener().
|
private |
Definition at line 550 of file DomainParticipantImpl.h.
Referenced by create_new_topic(), DomainParticipantImpl(), and enable().
|
private |
Definition at line 553 of file DomainParticipantImpl.h.
Referenced by ownership_manager().
|
private |
This participant crypto handle given by crypto.
Definition at line 486 of file DomainParticipantImpl.h.
Referenced by enable().
|
private |
Get instances handles from DomainParticipantFactory (use handle_protector_)
Definition at line 545 of file DomainParticipantImpl.h.
Referenced by assign_handle().
|
private |
Definition at line 643 of file DomainParticipantImpl.h.
|
private |
Definition at line 641 of file DomainParticipantImpl.h.
Referenced by add_adjust_liveliness_timers(), handle_exception(), and remove_adjust_liveliness_timers().
|
private |
This participant permissions handle given by access constrol.
Definition at line 484 of file DomainParticipantImpl.h.
Referenced by create_new_topic(), enable(), and ~DomainParticipantImpl().
|
private |
Publisher ID generator.
Definition at line 557 of file DomainParticipantImpl.h.
Referenced by create_publisher().
|
private |
Collection of publishers.
Definition at line 499 of file DomainParticipantImpl.h.
Referenced by assert_liveliness(), contains_entity(), create_publisher(), delete_publisher(), enable(), handle_exception(), is_clean(), liveliness_check_interval(), participant_liveliness_activity_after(), prepare_to_delete_datawriters(), and set_wait_pending_deadline().
|
private |
Protect the publisher collection.
Definition at line 525 of file DomainParticipantImpl.h.
Referenced by assert_liveliness(), contains_entity(), create_publisher(), delete_publisher(), handle_exception(), liveliness_check_interval(), participant_liveliness_activity_after(), prepare_to_delete_datawriters(), and set_wait_pending_deadline().
|
private |
The qos of this DomainParticipant.
Definition at line 471 of file DomainParticipantImpl.h.
Referenced by create_new_topic(), create_publisher(), create_recorder(), create_replayer(), create_subscriber(), create_topic_i(), enable(), get_qos(), and set_qos().
|
private |
Definition at line 567 of file DomainParticipantImpl.h.
Referenced by create_recorder(), delete_recorder(), and handle_exception().
|
private |
Protect the recorders collection.
Definition at line 575 of file DomainParticipantImpl.h.
Referenced by create_recorder(), delete_recorder(), and handle_exception().
|
private |
Definition at line 568 of file DomainParticipantImpl.h.
Referenced by create_replayer(), delete_replayer(), and handle_exception().
|
private |
Protect the replayers collection.
Definition at line 577 of file DomainParticipantImpl.h.
Referenced by create_replayer(), delete_replayer(), and handle_exception().
|
private |
By-handle lookup of instance handles assigned to GUIDs (use handle_protector_)
Definition at line 516 of file DomainParticipantImpl.h.
Referenced by assign_handle(), get_repoid(), and return_handle().
|
private |
Keep track of handles that can be reused (use handle_protector_)
Definition at line 548 of file DomainParticipantImpl.h.
Referenced by assign_handle(), and return_handle().
|
private |
Definition at line 571 of file DomainParticipantImpl.h.
Referenced by create_new_topic(), enable(), and ~DomainParticipantImpl().
|
private |
Definition at line 539 of file DomainParticipantImpl.h.
Referenced by delete_contained_entities(), and handle_exception().
|
private |
Definition at line 537 of file DomainParticipantImpl.h.
Referenced by delete_contained_entities(), and handle_exception().
|
private |
Protect the shutdown.
Definition at line 536 of file DomainParticipantImpl.h.
Referenced by delete_contained_entities(), and handle_exception().
|
private |
Definition at line 538 of file DomainParticipantImpl.h.
Referenced by delete_contained_entities(), and handle_exception().
|
private |
Collection of subscribers.
Definition at line 501 of file DomainParticipantImpl.h.
Referenced by contains_entity(), create_subscriber(), delete_subscriber(), enable(), handle_exception(), is_clean(), and update_ownership_strength().
|
private |
Protect the subscriber collection.
Definition at line 527 of file DomainParticipantImpl.h.
Referenced by contains_entity(), create_subscriber(), delete_subscriber(), handle_exception(), and update_ownership_strength().
|
private |
Collection of TopicDescriptions which are not also Topics.
Definition at line 506 of file DomainParticipantImpl.h.
Referenced by create_contentfilteredtopic(), create_multitopic(), create_topic_i(), delete_contentfilteredtopic(), delete_multitopic(), and lookup_topicdescription().
|
staticprivate |
The implementation of create_topic.{@ constants for the topic_mask argument to create_topic_i
Definition at line 436 of file DomainParticipantImpl.h.
Referenced by create_typeless_topic().
|
staticprivate |
Definition at line 437 of file DomainParticipantImpl.h.
Referenced by create_typeless_topic().
|
private |
Collection of topics.
Definition at line 503 of file DomainParticipantImpl.h.
Referenced by contains_entity(), create_contentfilteredtopic(), create_multitopic(), create_new_topic(), create_topic_i(), delete_topic_i(), enable(), get_topic_ids(), handle_exception(), is_clean(), and lookup_topicdescription().
|
private |
Protect the topic collection.
Definition at line 529 of file DomainParticipantImpl.h.
Referenced by contains_entity(), create_contentfilteredtopic(), create_multitopic(), create_new_topic(), create_topic_i(), delete_contentfilteredtopic(), delete_multitopic(), delete_topic_i(), get_topic_ids(), handle_exception(), and lookup_topicdescription().
|
private |
Definition at line 653 of file DomainParticipantImpl.h.
Referenced by DomainParticipantImpl(), enable(), and get_dynamic_type().