Changeset 11285


Ignore:
Timestamp:
07/07/11 19:54:28 (13 years ago)
Author:
tbretz
Message:
Added 'RESET'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r11264 r11285  
    11811181        Abort();
    11821182        EnableAll(false);
     1183        return T::GetCurrentState();
     1184    }
     1185
     1186    int Reset()
     1187    {
     1188        ResetThread();
    11831189        return T::GetCurrentState();
    11841190    }
     
    15261532            ("Immediately abort EventBuilder thread and disconnect all slots.");
    15271533
     1534        T::AddEvent("RESET", FAD::kDisconnected)
     1535            (boost::bind(&StateMachineFAD::Reset, this))
     1536            ("Immediately abort EventBuilder thread and disconnect all slots.");
     1537
    15281538        T::AddEvent("CONNECT", "S:1", FAD::kDisconnected, FAD::kConnecting, FAD::kConnected)
    15291539            (boost::bind(&StateMachineFAD::EnableSlot, this, _1, true))
Note: See TracChangeset for help on using the changeset viewer.