FACT++  1.0
virtual void DimDescribedState::Subscribe ( StateMachineImp imp)
inlinevirtual

Reimplemented from DimState.

Reimplemented in DimDescriptions.

Definition at line 134 of file DimState.h.

References HandleDesc(), DimState::server, DimState::Subscribe(), StateMachineImp::Subscribe(), and StateMachineImp::Wrap().

Referenced by StateMachineEventServer::StateMachineEventServer(), StateMachineFeedback::StateMachineFeedback(), StateMachineMCP::StateMachineMCP(), StateMachineRateControl::StateMachineRateControl(), StateMachineRateScan::StateMachineRateScan(), StateMachineSmartFACT::StateMachineSmartFACT(), and DimDescriptions::Subscribe().

135  {
136  imp.Subscribe(server+"/STATE_LIST")
137  (imp.Wrap(std::bind(&DimDescribedState::HandleDesc, this, std::placeholders::_1)));
138 
139  DimState::Subscribe(imp);
140  }
std::string server
Definition: DimState.h:61
virtual void Subscribe(StateMachineImp &imp)
Definition: DimState.h:68
EventImp & Subscribe(const std::string &name)
int HandleDesc(const EventImp &evt)
Definition: DimState.h:147
std::function< int(const EventImp &)> Wrap(const std::function< int(const EventImp &)> &func)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: