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> 32 using Path = boost::filesystem::path;
44 explicit DDSTopology(dds::topology_api::CTopology nativeTopology,
DDSEnv env = {});
57 auto GetTasks(
const std::string& =
"")
const -> std::vector<DDSTask>;
63 auto GetName()
const -> std::string;
65 friend auto operator<<(std::ostream&,
const DDSTopology&) -> std::ostream&;
69 std::shared_ptr<Impl> fImpl;
auto GetTopoFile() const -> Path
Get path to DDS topology xml, if it is known.
Definition: DDSTopology.cxx:53
auto GetTasks(const std::string &="") const -> std::vector< DDSTask >
Get list of tasks in this topology, optionally matching provided path.
Definition: DDSTopology.cxx:67
auto GetNumRequiredAgents() const -> int
Get number of required agents for this topology.
Definition: DDSTopology.cxx:62
auto GetEnv() const -> DDSEnvironment
Get associated DDS environment.
Definition: DDSTopology.cxx:51
auto GetName() const -> std::string
Get the name of the topology.
Definition: DDSTopology.cxx:107
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23
Definition: DDSTopology.cxx:25
auto GetCollections() const -> std::vector< DDSCollection >
Get list of tasks in this topology.
Definition: DDSTopology.cxx:90
Sets up the DDS environment (object helper)
Definition: DDSEnvironment.h:24
Represents a DDS topology.
Definition: DDSTopology.h:29