Changeset 10344 for trunk/FACT++/src/StateMachineImp.cc
- Timestamp:
- 04/10/11 10:16:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r10327 r10344 363 363 //! @param out 364 364 //! ostream to which the output should be redirected 365 // 366 void StateMachineImp::PrintListOfEvents(std::ostream &out) const 365 //! 366 //! @param evt 367 //! if given only the given event is selected 368 // 369 void StateMachineImp::PrintListOfEvents(ostream &out, const string &evt) const 367 370 { 368 371 for (vector<EventImp*>::const_iterator c=fListOfEvents.begin(); c!=fListOfEvents.end(); c++) 369 (*c)->Print(out); 372 if (evt.empty() || GetName()+'/'+evt==(*c)->GetName()) 373 (*c)->Print(out); 370 374 } 371 375 … … 373 377 // 374 378 //! Call PrintListOfEvents with fOut as the output stream 375 // 376 void StateMachineImp::PrintListOfEvents() const 377 { 378 PrintListOfEvents(Out()); 379 //! 380 //! @param str 381 //! if given only the given event is selected 382 // 383 // 384 void StateMachineImp::PrintListOfEvents(const string &str) const 385 { 386 PrintListOfEvents(Out(), str); 379 387 } 380 388 … … 658 666 //! @param name 659 667 //! A name which should be assigned to the state, e.g. "Tracking" 668 //! 669 //! @param doc 670 //! A explanatory text describing the state 660 671 //! 661 672 //! @todo FIX THE DOCU
Note:
See TracChangeset
for help on using the changeset viewer.