mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
feat!: Remove Device::TransitionTo()
without replacement
BREAKING CHANGE However, this API was never advertised nor used by anyone.
This commit is contained in:
committed by
Dennis Klein
parent
c2fa2e8848
commit
c35d35a3c3
@@ -552,8 +552,6 @@ class Device
|
||||
/// @param state state to wait for
|
||||
void WaitForState(const std::string& state) { WaitForState(GetState(state)); }
|
||||
|
||||
void TransitionTo(State state);
|
||||
|
||||
/// @brief Subscribe with a callback to state changes
|
||||
/// @param key id to identify your subscription
|
||||
/// @param callback callback (called with the new state as the parameter)
|
||||
@@ -683,8 +681,6 @@ class Device
|
||||
StateQueue fStateQueue;
|
||||
|
||||
std::mutex fTransportMtx; ///< guards access to transports container
|
||||
std::mutex fTransitionMtx;
|
||||
bool fTransitioning;
|
||||
};
|
||||
|
||||
} // namespace fair::mq
|
||||
|
Reference in New Issue
Block a user