mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
SDK: Require DDS 2.5.20
* Use the new interface: CTopology::getName * Enhance Example.DDS
This commit is contained in:
@@ -82,13 +82,13 @@ std::vector<uint64_t> DDSTopology::GetDeviceList()
|
||||
return taskIDs;
|
||||
}
|
||||
|
||||
// auto DDSTopology::GetName() const -> std::string { return fImpl->fTopo.getName(); }
|
||||
auto DDSTopology::GetName() const -> std::string { return fImpl->fTopo.getName(); }
|
||||
|
||||
auto operator<<(std::ostream& os, const DDSTopology& t) -> std::ostream&
|
||||
try {
|
||||
return os << "DDS topology: " /*<< t.GetName() <<*/ " (loaded from " << t.GetTopoFile() << ")";
|
||||
return os << "DDS topology: " << t.GetName() << " (loaded from " << t.GetTopoFile() << ")";
|
||||
} catch (std::runtime_error&) {
|
||||
return os << "DDS topology: " /*<< t.GetName()*/;
|
||||
return os << "DDS topology: " << t.GetName();
|
||||
}
|
||||
|
||||
} // namespace sdk
|
||||
|
Reference in New Issue
Block a user