Class astutedds::routing::DomainRoute
ClassList > astutedds > routing > DomainRoute
Bridges all configured topics between two DDS domains. More...
#include <domain_route.hpp>
Public Functions
| Type | Name |
|---|---|
| DomainRoute (const DomainRouteConfig & cfg) Construct a DomainRoute from parsed configuration. |
|
| DomainRoute (const DomainRoute &) = delete |
|
| DomainRoute (DomainRoute &&) = delete |
|
| const DomainRouteConfig & | config () const |
| DomainRoute & | operator= (const DomainRoute &) = delete |
| DomainRoute & | operator= (DomainRoute &&) = delete |
| bool | start () Create DomainParticipants, enable them, and start all TopicRoutes. |
| void | stop () Stop all TopicRoutes and delete participants. |
| const std::vector< std::unique_ptr< TopicRoute > > & | topic_routes () const Read-only access to the running TopicRoutes (e.g. for statistics). |
| ~DomainRoute () |
Detailed Description
Owns two DomainParticipants (input and output) and a set of TopicRoutes. Lifecycle: construct → start() → (running) → stop().
Public Functions Documentation
function DomainRoute [1/3]
Construct a DomainRoute from parsed configuration.
explicit astutedds::routing::DomainRoute::DomainRoute (
const DomainRouteConfig & cfg
)
function DomainRoute [2/3]
astutedds::routing::DomainRoute::DomainRoute (
const DomainRoute &
) = delete
function DomainRoute [3/3]
astutedds::routing::DomainRoute::DomainRoute (
DomainRoute &&
) = delete
function config
inline const DomainRouteConfig & astutedds::routing::DomainRoute::config () const
function operator=
DomainRoute & astutedds::routing::DomainRoute::operator= (
const DomainRoute &
) = delete
function operator=
DomainRoute & astutedds::routing::DomainRoute::operator= (
DomainRoute &&
) = delete
function start
Create DomainParticipants, enable them, and start all TopicRoutes.
bool astutedds::routing::DomainRoute::start ()
Returns:
true if all routes started successfully.
function stop
Stop all TopicRoutes and delete participants.
void astutedds::routing::DomainRoute::stop ()
function topic_routes
Read-only access to the running TopicRoutes (e.g. for statistics).
inline const std::vector< std::unique_ptr< TopicRoute > > & astutedds::routing::DomainRoute::topic_routes () const
function ~DomainRoute
astutedds::routing::DomainRoute::~DomainRoute ()
The documentation for this class was generated from the following file include/astutedds/routing/domain_route.hpp