Changeset 11302
- Timestamp:
- 07/08/11 16:10:20 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r11287 r11302 416 416 // -------------------------------------------------------------------------- 417 417 // 418 //! Call for each event in fListEvents its Print function with the given 419 //! stream if it is an allowed event in the current state. 420 //! 421 //! @param out 422 //! ostream to which the output should be redirected 423 //! 424 // 425 void StateMachineImp::PrintListOfAllowedEvents(ostream &out) const 426 { 427 for (vector<EventImp*>::const_iterator c=fListOfEvents.begin(); c!=fListOfEvents.end(); c++) 428 if ((*c)->IsStateAllowed(fCurrentState)) 429 (*c)->Print(out, true); 430 } 431 432 // -------------------------------------------------------------------------- 433 // 418 434 //! Call PrintListOfEvents with fOut as the output stream 419 435 //! -
trunk/FACT++/src/StateMachineImp.h
r11288 r11302 127 127 void PrintListOfEvents(const std::string &str="") const; 128 128 129 void PrintListOfAllowedEvents(std::ostream &out) const; 130 void PrintListOfAllowedEvents() const; 131 129 132 void PrintListOfStates(std::ostream &out) const; 130 133 void PrintListOfStates() const;
Note:
See TracChangeset
for help on using the changeset viewer.