Changeset 10977 for trunk/FACT++/src/StateMachineImp.cc
- Timestamp:
- 06/10/11 10:54:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r10873 r10977 248 248 const string fmt = evt->GetFormat(); 249 249 250 // Convert the user en etered data according to the format string250 // Convert the user entered data according to the format string 251 251 // into a data block which will be attached to the event 252 252 const Converter conv(lout, fmt, false); … … 311 311 312 312 if (IsRunning()) 313 PushEvent(new Event(evt, ptr, siz)); 313 { 314 Event *event = new Event(evt, ptr, siz); 315 Debug("Posted: "+event->GetName()); 316 PushEvent(event); 317 } 314 318 else 315 319 { … … 915 919 bool StateMachineImp::HandleEvent(const EventImp &evt) 916 920 { 921 Debug("Handle: "+evt.GetName()); 922 917 923 // Get the new state from the command 918 924 const int commandstate = evt.GetTargetState();
Note:
See TracChangeset
for help on using the changeset viewer.