|
OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <StaticDiscovery.h>


Classes | |
| struct | DiscoveredParticipant |
Public Member Functions | |
| StaticParticipant (GUID_t &guid, const DDS::DomainParticipantQos &qos, const EndpointRegistry ®istry) | |
| void | init_bit (const DDS::Subscriber_var &bit_subscriber) |
| void | fini_bit () |
| void | shutdown () |
| DDS::Subscriber_ptr | init_bit (DomainParticipantImpl *participant) |
| void | fini_bit (DCPS::DomainParticipantImpl *participant) |
| bool | attach_participant (DDS::DomainId_t domainId, const GUID_t &participantId) |
| bool | remove_domain_participant (DDS::DomainId_t domain_id, const GUID_t &participantId) |
| bool | ignore_domain_participant (DDS::DomainId_t domain, const GUID_t &myParticipantId, const GUID_t &ignoreId) |
| bool | update_domain_participant_qos (DDS::DomainId_t domain, const GUID_t &participant, const DDS::DomainParticipantQos &qos) |
| DCPS::TopicStatus | assert_topic (GUID_t &topicId, DDS::DomainId_t domainId, const GUID_t &participantId, const char *topicName, const char *dataTypeName, const DDS::TopicQos &qos, bool hasDcpsKey, DCPS::TopicCallbacks *topic_callbacks) |
| DCPS::TopicStatus | find_topic (DDS::DomainId_t domainId, const GUID_t &participantId, const char *topicName, CORBA::String_out dataTypeName, DDS::TopicQos_out qos, GUID_t &topicId) |
| DCPS::TopicStatus | remove_topic (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &topicId) |
| bool | ignore_topic (DDS::DomainId_t domainId, const GUID_t &myParticipantId, const GUID_t &ignoreId) |
| bool | update_topic_qos (const GUID_t &topicId, DDS::DomainId_t domainId, const GUID_t &participantId, const DDS::TopicQos &qos) |
| GUID_t | add_publication (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &topicId, DCPS::DataWriterCallbacks_rch publication, const DDS::DataWriterQos &qos, const DCPS::TransportLocatorSeq &transInfo, const DDS::PublisherQos &publisherQos, const XTypes::TypeInformation &type_info) |
| bool | remove_publication (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &publicationId) |
| bool | ignore_publication (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &ignoreId) |
| bool | update_publication_qos (DDS::DomainId_t domainId, const GUID_t &partId, const GUID_t &dwId, const DDS::DataWriterQos &qos, const DDS::PublisherQos &publisherQos) |
| void | update_publication_locators (DDS::DomainId_t domainId, const GUID_t &partId, const GUID_t &dwId, const DCPS::TransportLocatorSeq &transInfo) |
| GUID_t | add_subscription (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &topicId, DCPS::DataReaderCallbacks_rch subscription, const DDS::DataReaderQos &qos, const DCPS::TransportLocatorSeq &transInfo, const DDS::SubscriberQos &subscriberQos, const char *filterClassName, const char *filterExpr, const DDS::StringSeq ¶ms, const XTypes::TypeInformation &type_info) |
| bool | remove_subscription (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &subscriptionId) |
| bool | ignore_subscription (DDS::DomainId_t domainId, const GUID_t &participantId, const GUID_t &ignoreId) |
| bool | update_subscription_qos (DDS::DomainId_t domainId, const GUID_t &partId, const GUID_t &drId, const DDS::DataReaderQos &qos, const DDS::SubscriberQos &subQos) |
| bool | update_subscription_params (DDS::DomainId_t domainId, const GUID_t &partId, const GUID_t &subId, const DDS::StringSeq ¶ms) |
| void | update_subscription_locators (DDS::DomainId_t domainId, const GUID_t &partId, const GUID_t &subId, const DCPS::TransportLocatorSeq &transInfo) |
| void | ignore_domain_participant (const GUID_t &ignoreId) |
| virtual bool | announce_domain_participant_qos () |
| bool | update_domain_participant_qos (const DDS::DomainParticipantQos &qos) |
| TopicStatus | assert_topic (GUID_t &topicId, const char *topicName, const char *dataTypeName, const DDS::TopicQos &qos, bool hasDcpsKey, TopicCallbacks *topic_callbacks) |
| TopicStatus | find_topic (const char *topicName, CORBA::String_out dataTypeName, DDS::TopicQos_out qos, GUID_t &topicId) |
| TopicStatus | remove_topic (const GUID_t &topicId) |
| void | ignore_topic (const GUID_t &ignoreId) |
| bool | update_topic_qos (const GUID_t &topicId, const DDS::TopicQos &qos) |
| GUID_t | add_publication (const GUID_t &topicId, DataWriterCallbacks_rch publication, const DDS::DataWriterQos &qos, const TransportLocatorSeq &transInfo, const DDS::PublisherQos &publisherQos, const XTypes::TypeInformation &type_info) |
| void | remove_publication (const GUID_t &publicationId) |
| void | ignore_publication (const GUID_t &ignoreId) |
| bool | update_publication_qos (const GUID_t &publicationId, const DDS::DataWriterQos &qos, const DDS::PublisherQos &publisherQos) |
| void | update_publication_locators (const GUID_t &publicationId, const TransportLocatorSeq &transInfo) |
| GUID_t | add_subscription (const GUID_t &topicId, DataReaderCallbacks_rch subscription, const DDS::DataReaderQos &qos, const TransportLocatorSeq &transInfo, const DDS::SubscriberQos &subscriberQos, const char *filterClassName, const char *filterExpr, const DDS::StringSeq ¶ms, const XTypes::TypeInformation &type_info) |
| void | remove_subscription (const GUID_t &subscriptionId) |
| void | ignore_subscription (const GUID_t &ignoreId) |
| bool | update_subscription_qos (const GUID_t &subscriptionId, const DDS::DataReaderQos &qos, const DDS::SubscriberQos &subscriberQos) |
| bool | update_subscription_params (const GUID_t &subId, const DDS::StringSeq ¶ms) |
| void | update_subscription_locators (const GUID_t &subId, const TransportLocatorSeq &transInfo) |
| DDS::Subscriber_var | bit_subscriber () const |
| void | type_lookup_service (const XTypes::TypeLookupService_rch type_lookup_service) |
Public Member Functions inherited from OpenDDS::DCPS::RcObject | |
| virtual | ~RcObject () |
| virtual void | _add_ref () |
| virtual void | _remove_ref () |
| long | ref_count () const |
| WeakObject * | _get_weak_object () const |
Private Types | |
| typedef DiscoveredParticipantMap::iterator | DiscoveredParticipantIter |
| typedef DiscoveredParticipantMap::const_iterator | DiscoveredParticipantConstIter |
Private Member Functions | |
| typedef | OPENDDS_MAP_CMP (GUID_t, DiscoveredParticipant, GUID_tKeyLessThan) DiscoveredParticipantMap |
| void | remove_discovered_participant (DiscoveredParticipantIter &iter) |
| virtual void | remove_discovered_participant_i (DiscoveredParticipantIter &) |
| ParticipantBuiltinTopicDataDataReaderImpl * | part_bit () |
| ParticipantLocationBuiltinTopicDataDataReaderImpl * | part_loc_bit () |
| ConnectionRecordDataReaderImpl * | connection_record_bit () |
| InternalThreadBuiltinTopicDataDataReaderImpl * | internal_thread_bit () |
| StaticEndpointManager & | endpoint_manager () |
Private Attributes | |
| ACE_Thread_Mutex | lock_ |
| DDS::Subscriber_var | bit_subscriber_ |
| DDS::DomainParticipantQos | qos_ |
| DiscoveredParticipantMap | participants_ |
| RcHandle< StaticEndpointManager > | endpoint_manager_ |
Additional Inherited Members | |
Protected Member Functions inherited from OpenDDS::DCPS::RcObject | |
| RcObject () | |
Definition at line 479 of file StaticDiscovery.h.
|
private |
Definition at line 803 of file StaticDiscovery.h.
|
private |
Definition at line 801 of file StaticDiscovery.h.
|
inline |
Definition at line 481 of file StaticDiscovery.h.
| GUID_t OpenDDS::DCPS::StaticParticipant::add_publication | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | topicId, | ||
| DCPS::DataWriterCallbacks_rch | publication, | ||
| const DDS::DataWriterQos & | qos, | ||
| const DCPS::TransportLocatorSeq & | transInfo, | ||
| const DDS::PublisherQos & | publisherQos, | ||
| const XTypes::TypeInformation & | type_info | ||
| ) |
|
inline |
Definition at line 675 of file StaticDiscovery.h.
| GUID_t OpenDDS::DCPS::StaticParticipant::add_subscription | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | topicId, | ||
| DCPS::DataReaderCallbacks_rch | subscription, | ||
| const DDS::DataReaderQos & | qos, | ||
| const DCPS::TransportLocatorSeq & | transInfo, | ||
| const DDS::SubscriberQos & | subscriberQos, | ||
| const char * | filterClassName, | ||
| const char * | filterExpr, | ||
| const DDS::StringSeq & | params, | ||
| const XTypes::TypeInformation & | type_info | ||
| ) |
|
inline |
Definition at line 712 of file StaticDiscovery.h.
|
inlinevirtual |
Definition at line 622 of file StaticDiscovery.h.
| DCPS::TopicStatus OpenDDS::DCPS::StaticParticipant::assert_topic | ( | GUID_t & | topicId, |
| DDS::DomainId_t | domainId, | ||
| const GUID_t & | participantId, | ||
| const char * | topicName, | ||
| const char * | dataTypeName, | ||
| const DDS::TopicQos & | qos, | ||
| bool | hasDcpsKey, | ||
| DCPS::TopicCallbacks * | topic_callbacks | ||
| ) |
|
inline |
Definition at line 634 of file StaticDiscovery.h.
References ACE_ERROR, ACE_TEXT(), OpenDDS::DCPS::DCPS_debug_level, LM_ERROR, and OpenDDS::DCPS::PRECONDITION_NOT_MET.
| bool OpenDDS::DCPS::StaticParticipant::attach_participant | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId | ||
| ) |
|
inline |
Definition at line 756 of file StaticDiscovery.h.
Referenced by OpenDDS::DCPS::StaticEndpointManager::pub_bit(), and OpenDDS::DCPS::StaticEndpointManager::sub_bit().
|
inlineprivate |
Definition at line 832 of file StaticDiscovery.h.
References OpenDDS::DCPS::BUILT_IN_CONNECTION_RECORD_TOPIC.
|
inlineprivate |
Definition at line 855 of file StaticDiscovery.h.
| DCPS::TopicStatus OpenDDS::DCPS::StaticParticipant::find_topic | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const char * | topicName, | ||
| CORBA::String_out | dataTypeName, | ||
| DDS::TopicQos_out | qos, | ||
| GUID_t & | topicId | ||
| ) |
|
inline |
Definition at line 650 of file StaticDiscovery.h.
|
inline |
Definition at line 494 of file StaticDiscovery.h.
| void OpenDDS::DCPS::StaticParticipant::fini_bit | ( | DCPS::DomainParticipantImpl * | participant | ) |
| bool OpenDDS::DCPS::StaticParticipant::ignore_domain_participant | ( | DDS::DomainId_t | domain, |
| const GUID_t & | myParticipantId, | ||
| const GUID_t & | ignoreId | ||
| ) |
|
inline |
Definition at line 611 of file StaticDiscovery.h.
References ACE_GUARD, and lock_.
| bool OpenDDS::DCPS::StaticParticipant::ignore_publication | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | ignoreId | ||
| ) |
|
inline |
Definition at line 692 of file StaticDiscovery.h.
References ACE_GUARD, and lock_.
| bool OpenDDS::DCPS::StaticParticipant::ignore_subscription | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | ignoreId | ||
| ) |
|
inline |
Definition at line 732 of file StaticDiscovery.h.
References ACE_GUARD, and lock_.
| bool OpenDDS::DCPS::StaticParticipant::ignore_topic | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | myParticipantId, | ||
| const GUID_t & | ignoreId | ||
| ) |
|
inline |
Definition at line 664 of file StaticDiscovery.h.
References ACE_GUARD, and lock_.
|
inline |
Definition at line 488 of file StaticDiscovery.h.
| DDS::Subscriber_ptr OpenDDS::DCPS::StaticParticipant::init_bit | ( | DomainParticipantImpl * | participant | ) |
|
inlineprivate |
Definition at line 843 of file StaticDiscovery.h.
References OpenDDS::DCPS::BUILT_IN_INTERNAL_THREAD_TOPIC.
|
private |
|
inlineprivate |
Definition at line 810 of file StaticDiscovery.h.
References OpenDDS::DCPS::BUILT_IN_PARTICIPANT_TOPIC.
|
inlineprivate |
Definition at line 821 of file StaticDiscovery.h.
References OpenDDS::DCPS::BUILT_IN_PARTICIPANT_LOCATION_TOPIC.
|
private |
Definition at line 3112 of file StaticDiscovery.cpp.
References ACE_DEBUG, ACE_GUARD, ACE_TEXT(), OpenDDS::DCPS::LogGuid::c_str(), OpenDDS::DCPS::DCPS_debug_level, DDS::HANDLE_NIL, LM_INFO, OpenDDS::DCPS::StaticDiscovery::lock_, DDS::NOT_ALIVE_DISPOSED_INSTANCE_STATE, OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::DCPS::StaticDiscovery::participants_, and OpenDDS::DCPS::DataReaderImpl::set_instance_state().
|
inlineprivatevirtual |
Definition at line 807 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::remove_domain_participant | ( | DDS::DomainId_t | domain_id, |
| const GUID_t & | participantId | ||
| ) |
| bool OpenDDS::DCPS::StaticParticipant::remove_publication | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | publicationId | ||
| ) |
|
inline |
Definition at line 687 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::remove_subscription | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | subscriptionId | ||
| ) |
|
inline |
Definition at line 727 of file StaticDiscovery.h.
| DCPS::TopicStatus OpenDDS::DCPS::StaticParticipant::remove_topic | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | participantId, | ||
| const GUID_t & | topicId | ||
| ) |
|
inline |
Definition at line 659 of file StaticDiscovery.h.
|
inline |
Definition at line 499 of file StaticDiscovery.h.
|
inline |
Definition at line 761 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::update_domain_participant_qos | ( | DDS::DomainId_t | domain, |
| const GUID_t & | participant, | ||
| const DDS::DomainParticipantQos & | qos | ||
| ) |
|
inline |
Definition at line 627 of file StaticDiscovery.h.
References ACE_GUARD_RETURN, and lock_.
| void OpenDDS::DCPS::StaticParticipant::update_publication_locators | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | partId, | ||
| const GUID_t & | dwId, | ||
| const DCPS::TransportLocatorSeq & | transInfo | ||
| ) |
|
inline |
Definition at line 706 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::update_publication_qos | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | partId, | ||
| const GUID_t & | dwId, | ||
| const DDS::DataWriterQos & | qos, | ||
| const DDS::PublisherQos & | publisherQos | ||
| ) |
|
inline |
Definition at line 698 of file StaticDiscovery.h.
| void OpenDDS::DCPS::StaticParticipant::update_subscription_locators | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | partId, | ||
| const GUID_t & | subId, | ||
| const DCPS::TransportLocatorSeq & | transInfo | ||
| ) |
|
inline |
Definition at line 751 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::update_subscription_params | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | partId, | ||
| const GUID_t & | subId, | ||
| const DDS::StringSeq & | params | ||
| ) |
|
inline |
Definition at line 746 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::update_subscription_qos | ( | DDS::DomainId_t | domainId, |
| const GUID_t & | partId, | ||
| const GUID_t & | drId, | ||
| const DDS::DataReaderQos & | qos, | ||
| const DDS::SubscriberQos & | subQos | ||
| ) |
|
inline |
Definition at line 738 of file StaticDiscovery.h.
| bool OpenDDS::DCPS::StaticParticipant::update_topic_qos | ( | const GUID_t & | topicId, |
| DDS::DomainId_t | domainId, | ||
| const GUID_t & | participantId, | ||
| const DDS::TopicQos & | qos | ||
| ) |
|
inline |
Definition at line 670 of file StaticDiscovery.h.
|
private |
Definition at line 858 of file StaticDiscovery.h.
|
private |
Definition at line 862 of file StaticDiscovery.h.
|
mutableprivate |
Definition at line 857 of file StaticDiscovery.h.
|
private |
Definition at line 860 of file StaticDiscovery.h.
|
private |
Definition at line 859 of file StaticDiscovery.h.
1.8.13