#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 14 of file TkStateMachine.h.
|
inline |
Definition at line 16 of file TkStateMachine.h.
References myStatus, ready, and updating.
|
inline |
Definition at line 29 of file TkStateMachine.h.
References calibrating, and myStatus.
Referenced by SimpleNoiseCalculator::updateNoise(), TT6NoiseCalculator::updateNoise(), SimplePedestalCalculator::updatePedestal(), TT6PedestalCalculator::updatePedestal(), TT6PedestalCalculator::updateStatus(), SimplePedestalCalculator::updateStatus(), SimpleNoiseCalculator::updateStatus(), and TT6NoiseCalculator::updateStatus().
|
inline |
Definition at line 26 of file TkStateMachine.h.
References myStatus, and ready.
|
inline |
Definition at line 27 of file TkStateMachine.h.
References myStatus, and stuck.
|
inline |
Definition at line 28 of file TkStateMachine.h.
References myStatus, and updating.
Referenced by SimpleNoiseCalculator::updateNoise(), TT6NoiseCalculator::updateNoise(), TT6PedestalCalculator::updatePedestal(), and SimplePedestalCalculator::updatePedestal().
|
inline |
Definition at line 21 of file TkStateMachine.h.
References calibrating, and myStatus.
Referenced by SimplePedestalCalculator::init(), TT6PedestalCalculator::init(), and TT6NoiseCalculator::init().
|
inline |
Definition at line 19 of file TkStateMachine.h.
References myStatus, and ready.
|
inline |
Definition at line 24 of file TkStateMachine.h.
References recoMuon::in, and myStatus.
|
inline |
Definition at line 22 of file TkStateMachine.h.
References myStatus, and stuck.
|
inline |
Definition at line 20 of file TkStateMachine.h.
References myStatus, and updating.
Referenced by TT6NTPedestalCalculator::TT6NTPedestalCalculator(), TT6PedestalCalculator::updateStatus(), SimplePedestalCalculator::updateStatus(), TT6NoiseCalculator::updateStatus(), and SimpleNoiseCalculator::updateStatus().
|
inline |
|
inline |
Definition at line 31 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().