|
| BaseState (BaseState &orig) |
|
EventStatus | warning_ (const Error &error) override |
|
EventStatus | forcedDisengaged_ (const Error &error) override |
|
EventStatus | shutdown_ (const Error &error) override |
|
EventStatus | emergencyStop_ (const Error &error) override |
|
virtual const char * | stateName () const |
|
void | create (MACHINE *newMachine, const STATE &state, int id, ErrorHandleBase *errorHandle) |
|
void | addErrorsHelper (ErrorGroup *stateErrors, const ErrorGroup &errorsToAdd) |
|
void | enableErrorsHelper (ErrorGroup *stateErrors, const ErrorGroup &refErrors, const ErrorGroup &errorsToAdd) |
|
void | disableErrorsHelper (ErrorGroup *stateErrors, const ErrorGroup &errorsToAdd) |
|
void | addErrors (const ErrorGroup &codes, signal_monitor::MonitorAction newAction) |
|
virtual void | registerUserEvents () |
|
void | setMachine (MACHINE *newMachine) |
|
MACHINE * | getMachine () |
|
double | getDtSec () const |
|
int | id () |
|
void | clearEventQueue (bool highPriority=true, bool lowPriority=true) |
|
BaseState * | setActiveState (int state_id) |
|
NEWSTATE * | setActiveState () |
|
NEWSTATE * | setActiveState (const NEWSTATE &state) |
|
bool | isStateActive () |
|
bool | isStateActive (int id) |
|
void | addEvent (const Event0< BaseState > &event, double timeoutSec=EVENT_DEFAULT_TIMEOUT_SEC, EventPriority priority=HIGH_PRIORITY_EVENT) |
|
void | addEvent (const Event1< BaseState > &event, double timeoutSec=EVENT_DEFAULT_TIMEOUT_SEC, EventPriority priority=HIGH_PRIORITY_EVENT) |
|
void | addEvent (const Event2< BaseState > &event, double timeoutSec=EVENT_DEFAULT_TIMEOUT_SEC, EventPriority priority=HIGH_PRIORITY_EVENT) |
|
void | addEvent (const Event3< BaseState > &event, double timeoutSec=EVENT_DEFAULT_TIMEOUT_SEC, EventPriority priority=HIGH_PRIORITY_EVENT) |
|
double | getActiveTimeoutSec () |
|
virtual const char * | eventName (Event< BaseState > *event) |
|
virtual EventStatus | acknowledgeErrors () |
|
bool | clearErrorMonitor (bool warnings_only=false) |
|
ErrorHandleBase * | getErrorMonitor () |
|
EventStatus | warning (const Error &error) |
|
EventStatus | forcedDisengaged (const Error &error) |
|
EventStatus | shutdown (const Error &error) |
|
EventStatus | emergencyStop (const Error &error) |
|
EventStatus | delayEvent () |
|
virtual EventStatus | terminateEvent () |
|
void | errorMonitorAction () |
|
virtual void | enter () |
|
virtual void | enter (int prev_state_id) |
|
virtual void | leave () |
|
virtual void | leave (int next_state_id) |
|
virtual void | iterate (double dt_sec) |
|