12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef _FASTDDS_SERVERATTRIBUTES_H_
- #define _FASTDDS_SERVERATTRIBUTES_H_
- #ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
- #include <fastdds/rtps/common/Guid.h>
- #include <fastdds/rtps/common/Locator.h>
- #include <list>
- namespace eprosima {
- namespace fastrtps{
- namespace rtps {
- class ParticipantProxyData;
-
- class RemoteServerAttributes
- {
- public:
- RTPS_DllAPI inline bool operator==(const RemoteServerAttributes& r) const
- { return guidPrefix == r.guidPrefix; }
- RTPS_DllAPI GUID_t GetParticipant() const;
- RTPS_DllAPI GUID_t GetPDPReader() const;
- RTPS_DllAPI GUID_t GetPDPWriter() const;
- RTPS_DllAPI GUID_t GetEDPPublicationsReader() const;
- RTPS_DllAPI GUID_t GetEDPSubscriptionsWriter() const;
- RTPS_DllAPI GUID_t GetEDPPublicationsWriter() const;
- RTPS_DllAPI GUID_t GetEDPSubscriptionsReader() const;
- RTPS_DllAPI inline bool ReadguidPrefix(const char * pfx)
- {
- return bool(std::istringstream(pfx) >> guidPrefix);
- }
-
- LocatorList_t metatrafficUnicastLocatorList;
-
- LocatorList_t metatrafficMulticastLocatorList;
-
- GuidPrefix_t guidPrefix;
-
- const ParticipantProxyData * proxy{};
- };
- typedef std::list<RemoteServerAttributes> RemoteServerList_t;
- }
- }
- }
- #endif
- #endif
|