23 #include <fastdds/dds/topic/TopicDataType.hpp> 24 #include <fastrtps/attributes/ParticipantAttributes.h> 27 #ifdef USE_DEPRECATION 28 #if defined(__GNUC__) || defined(__clang__) 29 #define DEPRECATED __attribute__ ((deprecated)) 30 #elif defined(_MSC_VER) 31 #define DEPRECATED __declspec(deprecated) 34 #endif // if defined(__GNUC__) || defined(__clang__) 37 #endif // ifdef USE_DEPRECATION 42 class ParticipantListener;
44 class ParticipantImpl;
46 class PublisherAttributes;
47 class PublisherListener;
49 class SubscriberAttributes;
50 class SubscriberListener;
70 RTPS_DllAPI DEPRECATED
static Participant* createParticipant(
71 const std::string& participant_profile,
80 RTPS_DllAPI DEPRECATED
static Participant* createParticipant(
85 RTPS_DllAPI
static void getDefaultParticipantAttributes(
95 RTPS_DllAPI
static Publisher* createPublisher(
97 const std::string& publisher_profile,
107 RTPS_DllAPI
static Publisher* createPublisher(
113 RTPS_DllAPI
static void getDefaultPublisherAttributes(
123 RTPS_DllAPI
static Subscriber* createSubscriber(
125 const std::string& subscriber_profile,
135 RTPS_DllAPI
static Subscriber* createSubscriber(
141 RTPS_DllAPI
static void getDefaultSubscriberAttributes(
149 RTPS_DllAPI
static bool removeParticipant(
157 RTPS_DllAPI
static bool removePublisher(
165 RTPS_DllAPI
static bool removeSubscriber(
175 RTPS_DllAPI
static bool getRegisteredType(
177 const char* typeName,
178 fastdds::dds::TopicDataType** type);
186 RTPS_DllAPI
static bool registerType(
188 fastdds::dds::TopicDataType* type);
196 RTPS_DllAPI
static bool registerDynamicType(
206 RTPS_DllAPI
static bool unregisterType(
208 const char* typeName);
213 RTPS_DllAPI
static void stopAll();
220 RTPS_DllAPI
static bool loadXMLProfilesFile(
221 const std::string& xml_profile_file);
229 RTPS_DllAPI
static bool loadXMLProfilesString(
235 typedef std::pair<Participant*, ParticipantImpl*> t_p_Participant;
241 static std::mutex m_mutex;
243 static std::vector<t_p_Participant> m_participants;
245 static bool default_xml_profiles_loaded;
Definition: DynamicPubSubType.h:28
Class ParticipantListener, overrides behaviour towards certain events.
Definition: ParticipantListener.h:36
Class PublisherAttributes, used by the user to define the attributes of a Publisher.
Definition: PublisherAttributes.h:39
Class Publisher, used to send data to associated subscribers.
Definition: Publisher.h:46
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
Class SubscriberListener, it should be used by the end user to implement specific callbacks to certai...
Definition: SubscriberListener.h:40
Class Domain, use to interact with the Publisher Subscriber API of the Fast RTPS implementation.
Definition: Domain.h:60
Class Participant used to group Publishers and Subscribers into a single working unit.
Definition: Participant.h:46
Class PublisherListener, allows the end user to implement callbacks triggered by certain events...
Definition: PublisherListener.h:36
Class SubscriberAttributes, used by the user to define the attributes of a Subscriber.
Definition: SubscriberAttributes.h:40
Class Subscriber, contains the public API that allows the user to control the reception of messages...
Definition: Subscriber.h:43
Class ParticipantAttributes, used by the user to define the attributes of a Participant.
Definition: ParticipantAttributes.h:34