mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Fix WaitForState(string stateName)
This commit is contained in:
parent
4af0393c11
commit
418d42b060
|
@ -492,7 +492,7 @@ class FairMQDevice
|
||||||
|
|
||||||
fair::mq::State WaitForNextState();
|
fair::mq::State WaitForNextState();
|
||||||
void WaitForState(fair::mq::State state);
|
void WaitForState(fair::mq::State state);
|
||||||
void WaitForState(const std::string& state) { fair::mq::StateMachine::GetState(state); }
|
void WaitForState(const std::string& state) { WaitForState(fair::mq::StateMachine::GetState(state)); }
|
||||||
|
|
||||||
void SubscribeToStateChange(const std::string& key, std::function<void(const fair::mq::State)> callback) { fStateMachine.SubscribeToStateChange(key, callback); }
|
void SubscribeToStateChange(const std::string& key, std::function<void(const fair::mq::State)> callback) { fStateMachine.SubscribeToStateChange(key, callback); }
|
||||||
void UnsubscribeFromStateChange(const std::string& key) { fStateMachine.UnsubscribeFromStateChange(key); }
|
void UnsubscribeFromStateChange(const std::string& key) { fStateMachine.UnsubscribeFromStateChange(key); }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user