FACT++  1.0
template<class T>
State RemoteControl< T >::JsGetCurrentState ( ) const
inlineprotectedvirtual

Reimplemented from InterpreterV8.

Definition at line 186 of file RemoteControl.h.

187  {
188  if (!fImp)
189  return State();
190  const int idx = fImp->GetCurrentState();
191  return State(idx, fImp->GetStateName(idx), fImp->GetStateDescription(idx));
192  }
int GetCurrentState() const
return the current state of the machine
const std::string GetStateDescription(int state) const
StateMachineDimControl * fImp
Definition: RemoteControl.h:70
const std::string GetStateName(int state) const