FACT++  1.0
EventImp * StateMachine::CreateEvent ( const std::string &  name,
const std::string &  fmt 
)
protectedvirtual

Overwrite StateMachineImp::AddTransition to create an Event object instead of an EventImp object. The event name propagated is name.

For parameter description see StateMachineImp.

Implements StateMachineImp.

Definition at line 39 of file StateMachine.cc.

40 {
41  return new Event(GetName()+'/'+name, fmt);
42 }
const std::string & GetName() const
Concerete implementation of an EventImp stroring name, format, data and time.
Definition: Event.h:6