|
| BasicTopology (DDSTopology topo, DDSSession session, bool blockUntilConnected=false) |
| (Re)Construct a FairMQ topology from an existing DDS topology More...
|
|
| BasicTopology (const Executor &ex, DDSTopology topo, DDSSession session, bool blockUntilConnected=false, Allocator alloc=DefaultAllocator()) |
| (Re)Construct a FairMQ topology from an existing DDS topology More...
|
|
| BasicTopology (const BasicTopology &)=delete |
| not copyable
|
|
BasicTopology & | operator= (const BasicTopology &)=delete |
|
| BasicTopology (BasicTopology &&)=default |
| movable
|
|
BasicTopology & | operator= (BasicTopology &&)=default |
|
void | SubscribeToStateChanges () |
|
void | WaitForPublisherCount (unsigned int number) |
|
void | SendSubscriptionHeartbeats (const std::error_code &ec) |
|
void | UnsubscribeFromStateChanges () |
|
void | SubscribeToCommands () |
|
auto | HandleCmd (cmd::StateChangeSubscription const &cmd) -> void |
|
auto | HandleCmd (cmd::StateChangeUnsubscription const &cmd) -> void |
|
auto | HandleCmd (cmd::StateChange const &cmd, DDSChannel::Id const &senderId) -> void |
|
auto | HandleCmd (cmd::TransitionStatus const &cmd) -> void |
|
auto | HandleCmd (cmd::Properties const &cmd) -> void |
|
auto | HandleCmd (cmd::PropertiesSet const &cmd) -> void |
|
template<typename CompletionToken > |
auto | AsyncChangeState (const TopologyTransition transition, const std::string &path, Duration timeout, CompletionToken &&token) |
| Initiate state transition on all FairMQ devices in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncChangeState (const TopologyTransition transition, CompletionToken &&token) |
| Initiate state transition on all FairMQ devices in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncChangeState (const TopologyTransition transition, Duration timeout, CompletionToken &&token) |
| Initiate state transition on all FairMQ devices in this topology with a timeout. More...
|
|
template<typename CompletionToken > |
auto | AsyncChangeState (const TopologyTransition transition, const std::string &path, CompletionToken &&token) |
| Initiate state transition on all FairMQ devices in this topology with a timeout. More...
|
|
auto | ChangeState (const TopologyTransition transition, const std::string &path="", Duration timeout=Duration(0)) -> std::pair< std::error_code, TopologyState > |
| Perform state transition on FairMQ devices in this topology for a specified topology path. More...
|
|
auto | ChangeState (const TopologyTransition transition, Duration timeout) -> std::pair< std::error_code, TopologyState > |
| Perform state transition on all FairMQ devices in this topology with a timeout. More...
|
|
auto | GetCurrentState () const -> TopologyState |
| Returns the current state of the topology. More...
|
|
auto | AggregateState () const -> DeviceState |
|
auto | StateEqualsTo (DeviceState state) const -> bool |
|
template<typename CompletionToken > |
auto | AsyncWaitForState (const DeviceState targetLastState, const DeviceState targetCurrentState, const std::string &path, Duration timeout, CompletionToken &&token) |
| Initiate waiting for selected FairMQ devices to reach given last & current state in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncWaitForState (const DeviceState targetLastState, const DeviceState targetCurrentState, CompletionToken &&token) |
| Initiate waiting for selected FairMQ devices to reach given last & current state in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncWaitForState (const DeviceState targetCurrentState, CompletionToken &&token) |
| Initiate waiting for selected FairMQ devices to reach given current state in this topology. More...
|
|
auto | WaitForState (const DeviceState targetLastState, const DeviceState targetCurrentState, const std::string &path="", Duration timeout=Duration(0)) -> std::error_code |
| Wait for selected FairMQ devices to reach given last & current state in this topology. More...
|
|
auto | WaitForState (const DeviceState targetCurrentState, const std::string &path="", Duration timeout=Duration(0)) -> std::error_code |
| Wait for selected FairMQ devices to reach given current state in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncGetProperties (DevicePropertyQuery const &query, const std::string &path, Duration timeout, CompletionToken &&token) |
| Initiate property query on selected FairMQ devices in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncGetProperties (DevicePropertyQuery const &query, CompletionToken &&token) |
| Initiate property query on selected FairMQ devices in this topology. More...
|
|
auto | GetProperties (DevicePropertyQuery const &query, const std::string &path="", Duration timeout=Duration(0)) -> std::pair< std::error_code, GetPropertiesResult > |
| Query properties on selected FairMQ devices in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncSetProperties (const DeviceProperties &props, const std::string &path, Duration timeout, CompletionToken &&token) |
| Initiate property update on selected FairMQ devices in this topology. More...
|
|
template<typename CompletionToken > |
auto | AsyncSetProperties (DeviceProperties const &props, CompletionToken &&token) |
| Initiate property update on selected FairMQ devices in this topology. More...
|
|
auto | SetProperties (DeviceProperties const &properties, const std::string &path="", Duration timeout=Duration(0)) -> std::pair< std::error_code, FailedDevices > |
| Set properties on selected FairMQ devices in this topology. More...
|
|
Duration | GetHeartbeatInterval () const |
|
void | SetHeartbeatInterval (Duration duration) |
|
auto | GetExecutor () const noexcept -> ExecutorType |
| Get associated I/O executor.
|
|
auto | GetAllocator () const noexcept -> AllocatorType |
| Get associated default allocator.
|
|
| AsioBase ()=delete |
| NO default ctor.
|
|
| AsioBase (Executor ex, Allocator alloc) |
| Construct with associated I/O executor.
|
|
| AsioBase (const AsioBase &)=delete |
| NOT copyable.
|
|
AsioBase & | operator= (const AsioBase &)=delete |
|
| AsioBase (AsioBase &&) noexcept=default |
| movable
|
|
AsioBase & | operator= (AsioBase &&) noexcept=default |
|
template<typename Executor, typename Allocator>
class fair::mq::sdk::BasicTopology< Executor, Allocator >
Represents a FairMQ topology.
- Template Parameters
-
Executor | Associated I/O executor |
Allocator | Associated default allocator |
- Thread Safety
- Distinct objects: Safe.
Shared objects: Safe.