mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Topology: Use DDSTask type, remove unused member
This commit is contained in:
parent
31edf948de
commit
8feffe70ba
|
@ -234,7 +234,7 @@ void Topology::WaitForState()
|
|||
LOG(debug) << "WaitForState shutting down";
|
||||
};
|
||||
|
||||
void Topology::AddNewStateEntry(uint64_t senderId, const std::string& state)
|
||||
void Topology::AddNewStateEntry(DDSTask::Id senderId, const std::string& state)
|
||||
{
|
||||
std::size_t pos = state.find("->");
|
||||
std::string endState = state.substr(pos + 2);
|
||||
|
|
|
@ -139,7 +139,6 @@ class Topology
|
|||
DDSSession fDDSSession;
|
||||
DDSTopology fDDSTopo;
|
||||
TopologyState fState;
|
||||
std::unordered_map<uint64_t, DeviceStatus> fStateChangesSubscriptions;
|
||||
bool fStateChangeOngoing;
|
||||
DeviceState fTargetState;
|
||||
mutable std::mutex fMtx;
|
||||
|
@ -153,7 +152,7 @@ class Topology
|
|||
std::string fStateChangeError;
|
||||
|
||||
void WaitForState();
|
||||
void AddNewStateEntry(uint64_t senderId, const std::string& state);
|
||||
void AddNewStateEntry(DDSTask::Id senderId, const std::string& state);
|
||||
};
|
||||
|
||||
using Topo = Topology;
|
||||
|
|
Loading…
Reference in New Issue
Block a user