Changeset 11342 for trunk/FACT++/src
- Timestamp:
- 07/11/11 16:03:44 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11340 r11342 1184 1184 } 1185 1185 1186 int Reset( )1187 { 1188 ResetThread( );1186 int Reset(bool soft) 1187 { 1188 ResetThread(soft); 1189 1189 return T::GetCurrentState(); 1190 1190 } … … 1532 1532 ("Immediately abort EventBuilder thread and disconnect all slots."); 1533 1533 1534 T::AddEvent("RESET", FAD::kDisconnected) 1535 (boost::bind(&StateMachineFAD::Reset, this)) 1536 ("Flush all buffers, close all files and reinitialize event builder thread."); 1534 T::AddEvent("SOFT_RESET", FAD::kConnected) 1535 (boost::bind(&StateMachineFAD::Reset, this, true)) 1536 ("Wait for buffers to drain, close all files and reinitialize event builder thread."); 1537 1538 T::AddEvent("HARD_RESET", FAD::kConnected) 1539 (boost::bind(&StateMachineFAD::Reset, this, false)) 1540 ("Free all buffers, close all files and reinitialize event builder thread."); 1537 1541 1538 1542 T::AddEvent("CONNECT", "S:1", FAD::kDisconnected, FAD::kConnecting, FAD::kConnected)
Note:
See TracChangeset
for help on using the changeset viewer.