123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- #ifndef PARTICIPANT_H_
- #define PARTICIPANT_H_
- #include <fastdds/rtps/common/Guid.h>
- #include <fastdds/rtps/attributes/RTPSParticipantAttributes.h>
- #include <utility>
- namespace eprosima {
- namespace fastrtps{
- class ParticipantImpl;
- class ParticipantAttributes;
- namespace rtps
- {
- class WriterProxyData;
- class ReaderProxyData;
- class ResourceEvent;
- class RTPSParticipant;
- }
- class RTPS_DllAPI Participant
- {
- public:
-
- const rtps::GUID_t& getGuid() const;
-
- const ParticipantAttributes& getAttributes() const;
-
- bool newRemoteEndpointDiscovered(
- const rtps::GUID_t& partguid,
- uint16_t userId,
- rtps::EndpointKind_t kind);
-
- std::vector<std::string> getParticipantNames() const;
-
- void assert_liveliness();
- rtps::ResourceEvent& get_resource_event() const;
- private:
- Participant();
- virtual ~Participant();
- ParticipantImpl* mp_impl;
- friend class Domain;
- friend class ParticipantImpl;
- };
- }
- }
- #endif
|