FACT++  1.0
bool StateMachineImp::HasState ( int  state) const
Parameters
stateThe state for which should be checked
Returns
true if a nam for this state already exists, false otherwise

Definition at line 698 of file StateMachineImp.cc.

References fStateNames.

Referenced by StateMachineDim::AddStateName(), IsQueueEmpty(), and RemoteControl< Shell >::JsHasState().

699 {
700  return fStateNames.find(state) != fStateNames.end();
701 }
StateNames fStateNames
Human readable names associated with the states.

+ Here is the caller graph for this function: