#include <TkStateMachine.h>
Public Types | |
enum | StatusType { ready =1, calibrating =2, updating =3, stuck =4 } |
Public Member Functions | |
bool | alreadyCalibrated () const |
bool | isCalibrating () const |
bool | isReady () const |
bool | isStuck () const |
bool | isUpdating () const |
void | setCalibrating () |
void | setReady () |
void | setStatus (StatusType in) |
void | setStuck () |
void | setUpdating () |
StatusType | status () const |
std::string | statusName () |
Public Attributes | |
StatusType | myStatus |
Implement a state machine. Each of the ApvAnalysis component can be
Definition at line 12 of file TkStateMachine.h.
Enumerator | |
---|---|
ready | |
calibrating | |
updating | |
stuck |
Definition at line 15 of file TkStateMachine.h.
|
inline |
Definition at line 17 of file TkStateMachine.h.
References myStatus, ready, and updating.
|
inline |
Definition at line 30 of file TkStateMachine.h.
References calibrating, and myStatus.
Referenced by SimpleNoiseCalculator::updateNoise(), TT6NoiseCalculator::updateNoise(), SimplePedestalCalculator::updatePedestal(), TT6PedestalCalculator::updatePedestal(), TT6NoiseCalculator::updateStatus(), SimpleNoiseCalculator::updateStatus(), TT6PedestalCalculator::updateStatus(), and SimplePedestalCalculator::updateStatus().
|
inline |
Definition at line 27 of file TkStateMachine.h.
References myStatus, and ready.
|
inline |
Definition at line 28 of file TkStateMachine.h.
References myStatus, and stuck.
|
inline |
Definition at line 29 of file TkStateMachine.h.
References myStatus, and updating.
Referenced by SimpleNoiseCalculator::updateNoise(), TT6NoiseCalculator::updateNoise(), TT6PedestalCalculator::updatePedestal(), and SimplePedestalCalculator::updatePedestal().
|
inline |
Definition at line 22 of file TkStateMachine.h.
References calibrating, and myStatus.
Referenced by TT6NoiseCalculator::init(), TT6PedestalCalculator::init(), and SimplePedestalCalculator::init().
|
inline |
Definition at line 20 of file TkStateMachine.h.
References myStatus, and ready.
|
inline |
Definition at line 25 of file TkStateMachine.h.
References recoMuon::in, and myStatus.
|
inline |
Definition at line 23 of file TkStateMachine.h.
References myStatus, and stuck.
|
inline |
Definition at line 21 of file TkStateMachine.h.
References myStatus, and updating.
Referenced by TT6NTPedestalCalculator::TT6NTPedestalCalculator(), SimpleNoiseCalculator::updateStatus(), TT6NoiseCalculator::updateStatus(), SimplePedestalCalculator::updateStatus(), and TT6PedestalCalculator::updateStatus().
|
inline |
|
inline |
Definition at line 33 of file TkStateMachine.h.
References calibrating, myStatus, ready, stuck, and updating.
StatusType TkStateMachine::myStatus |
Definition at line 44 of file TkStateMachine.h.
Referenced by alreadyCalibrated(), isCalibrating(), isReady(), isStuck(), isUpdating(), setCalibrating(), setReady(), setStatus(), setStuck(), setUpdating(), status(), and statusName().