FairMQ
1.4.33
C++ Message Queuing Library and Framework
|
9 #ifndef FAIR_MQ_SDK_DDSTOPOLOGY_H
10 #define FAIR_MQ_SDK_DDSTOPOLOGY_H
12 #include <boost/filesystem.hpp>
13 #include <fairmq/sdk/DDSCollection.h>
14 #include <fairmq/sdk/DDSEnvironment.h>
15 #include <fairmq/sdk/DDSInfo.h>
16 #include <fairmq/sdk/DDSTask.h>
21 namespace fair::mq::sdk
31 using Path = boost::filesystem::path;
33 DDSTopology() =
delete;
43 explicit DDSTopology(dds::topology_api::CTopology nativeTopology,
DDSEnv env = {});
62 auto
GetName() const -> std::
string;
64 friend auto operator<<(std::ostream&, const
DDSTopology&) -> std::ostream&;
68 std::shared_ptr<Impl> fImpl;
auto GetName() const -> std::string
Get the name of the topology.
Definition: DDSTopology.cxx:111
auto GetTopoFile() const -> Path
Get path to DDS topology xml, if it is known.
Definition: DDSTopology.cxx:57
Sets up the DDS environment (object helper)
Definition: DDSEnvironment.h:30
auto GetEnv() const -> DDSEnvironment
Get associated DDS environment.
Definition: DDSTopology.cxx:55
auto GetCollections() const -> std::vector< DDSCollection >
Get list of tasks in this topology.
Definition: DDSTopology.cxx:94
Represents a DDS collection.
Definition: DDSCollection.h:31
Represents a DDS task.
Definition: DDSTask.h:31
auto GetNumRequiredAgents() const -> int
Get number of required agents for this topology.
Definition: DDSTopology.cxx:66
auto GetTasks(const std::string &="") const -> std::vector< DDSTask >
Get list of tasks in this topology, optionally matching provided path.
Definition: DDSTopology.cxx:71
Represents a DDS topology.
Definition: DDSTopology.h:35
privacy