19#ifndef FASTDDS_RTPS__RTPSDOMAIN_HPP
20#define FASTDDS_RTPS__RTPSDOMAIN_HPP
26#include <fastdds/LibrarySettings.hpp>
27#include <fastdds/rtps/attributes/RTPSParticipantAttributes.hpp>
28#include <fastdds/rtps/attributes/ThreadSettings.hpp>
29#include <fastdds/rtps/common/Types.hpp>
30#include <fastdds/rtps/history/IPayloadPool.hpp>
31#include <fastdds/rtps/history/IChangePool.hpp>
37class RTPSParticipantImpl;
39class RTPSParticipantListener;
41class WriterAttributes;
45class ReaderAttributes;
79 FASTDDS_EXPORTED_API
static void stopAll();
193 const std::shared_ptr<IPayloadPool>& payload_pool,
214 const std::shared_ptr<IPayloadPool>& payload_pool,
Class LibraySettings, used by the user to define the Fast DDS library behaviour.
Definition LibrarySettings.hpp:38
Class RTPSDomain,it manages the creation and destruction of RTPSParticipant RTPSWriter and RTPSReader...
Definition RTPSDomain.hpp:56
static FASTDDS_EXPORTED_API RTPSWriter * createRTPSWriter(RTPSParticipant *p, const EntityId_t &entity_id, WriterAttributes &watt, WriterHistory *hist, WriterListener *listen=nullptr)
Create a RTPSWriter in a participant.
static FASTDDS_EXPORTED_API RTPSWriter * createRTPSWriter(RTPSParticipant *p, WriterAttributes &watt, WriterHistory *hist, WriterListener *listen=nullptr)
Create a RTPSWriter in a participant.
static FASTDDS_EXPORTED_API RTPSReader * createRTPSReader(RTPSParticipant *p, ReaderAttributes &ratt, ReaderHistory *hist, ReaderListener *listen=nullptr)
Create a RTPSReader in a participant.
static FASTDDS_EXPORTED_API RTPSParticipant * createParticipant(uint32_t domain_id, const RTPSParticipantAttributes &attrs, RTPSParticipantListener *plisten=nullptr)
Create a RTPSParticipant.
static FASTDDS_EXPORTED_API void stopAll()
Method to shut down all RTPSParticipants, readers, writers, etc.
static FASTDDS_EXPORTED_API void set_filewatch_thread_config(const fastdds::rtps::ThreadSettings &watch_thread, const fastdds::rtps::ThreadSettings &callback_thread)
Method to set the configuration of the threads created by the file watcher for the environment file.
static FASTDDS_EXPORTED_API bool set_library_settings(const fastdds::LibrarySettings &library_settings)
Set the library settings-.
static FASTDDS_EXPORTED_API bool removeRTPSParticipant(RTPSParticipant *p)
Remove a RTPSParticipant and delete all its associated Writers, Readers, resources,...
static FASTDDS_EXPORTED_API bool get_library_settings(fastdds::LibrarySettings &library_settings)
Get the library settings.
static FASTDDS_EXPORTED_API bool removeRTPSReader(RTPSReader *reader)
Remove a RTPSReader.
static FASTDDS_EXPORTED_API RTPSReader * createRTPSReader(RTPSParticipant *p, ReaderAttributes &ratt, const std::shared_ptr< IPayloadPool > &payload_pool, ReaderHistory *hist, ReaderListener *listen=nullptr)
Create a RTPReader in a participant using a custom payload pool.
static FASTDDS_EXPORTED_API RTPSReader * createRTPSReader(RTPSParticipant *p, const EntityId_t &entity_id, ReaderAttributes &ratt, const std::shared_ptr< IPayloadPool > &payload_pool, ReaderHistory *hist, ReaderListener *listen=nullptr)
Create a RTPSReader in a participant using a custom payload pool.
static FASTDDS_EXPORTED_API RTPSParticipant * createParticipant(uint32_t domain_id, bool enabled, const RTPSParticipantAttributes &attrs, RTPSParticipantListener *plisten=nullptr)
Create a RTPSParticipant.
static FASTDDS_EXPORTED_API bool removeRTPSWriter(RTPSWriter *writer)
Remove a RTPSWriter.
Class RTPSParticipantAttributes used to define different aspects of a RTPSParticipant.
Definition RTPSParticipantAttributes.hpp:423
Class RTPSParticipant, contains the public API for a RTPSParticipant.
Definition RTPSParticipant.hpp:76
Class RTPSParticipantListener with virtual method that the user can overload to respond to certain ev...
Definition RTPSParticipantListener.hpp:40
Class RTPSReader, manages the reception of data from its matched writers.
Definition RTPSReader.hpp:54
Class RTPSWriter, manages the sending of data to the readers.
Definition RTPSWriter.hpp:62
Class ReaderAttributes, to define the attributes of a RTPSReader.
Definition ReaderAttributes.hpp:59
Class ReaderHistory, container of the different CacheChanges of a reader.
Definition ReaderHistory.hpp:39
Class ReaderListener, to be used by the user to override some of is virtual method to program actions...
Definition ReaderListener.hpp:45
Class WriterAttributes, defining the attributes of a RTPSWriter.
Definition WriterAttributes.hpp:73
Class WriterHistory, container of the different CacheChanges of a writer.
Definition WriterHistory.hpp:47
Class WriterListener with virtual method so the user can implement callbacks to certain events.
Definition WriterListener.hpp:40
Structure EntityId_t, entity id part of GUID_t.
Definition EntityId_t.hpp:77
Struct ThreadSettings to specify various thread settings.
Definition ThreadSettings.hpp:37