FACT++  1.0
void StateMachineDim::infoHandler ( )
privatevirtual

Overwritten DimCommand::commandHandler.

Implements DimInfoHandler.

Definition at line 165 of file StateMachineDim.cc.

References DimInfoHandler::getInfo(), StateMachineImp::HasEvent(), and StateMachineImp::PostEvent().

166 {
167  DimInfo *inf = getInfo();
168  if (!inf)
169  return;
170 
171  const EventImp *evt = dynamic_cast<EventImp*>(inf);
172 
173  if (HasEvent(evt))
174  PostEvent(*evt);
175 }
A general base-class describing events issues in a state machine.
Definition: EventImp.h:11
bool PostEvent(std::ostream &lout, const std::string &str)
Post an event to the event queue.
Definition: dic.hxx:31
bool HasEvent(const EventImp *cmd)
DimInfo * getInfo()
Definition: dic.hxx:26

+ Here is the call graph for this function: