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

Reimplemented from DimDescribedState.

Definition at line 189 of file DimState.h.

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

Referenced by DataLogger::AddServer(), and StateMachineDimControl::HandleServerAdd().

190  {
191  imp.Subscribe(server+"/SERVICE_DESC")
192  (imp.Wrap(std::bind(&DimDescriptions::HandleServiceDesc, this, std::placeholders::_1)));
193 
195  }
virtual void Subscribe(StateMachineImp &imp)
Definition: DimState.h:134
int HandleServiceDesc(const EventImp &evt)
Definition: DimState.h:203
std::string server
Definition: DimState.h:61
EventImp & Subscribe(const std::string &name)
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: