6 #ifndef YARP_MANAGER_Exec_State
7 #define YARP_MANAGER_Exec_State
70 void start()
override;
98 bool checkPriorityPorts();
99 bool checkResources(
bool silent=
true);
100 bool timeout(
double base,
double timeout);
116 void kill()
override;
122 bool checkNormalPorts();
139 void kill()
override;
140 void start()
override;
141 void stop()
override;
161 void kill()
override;
182 void start()
override;
183 void stop()
override;
184 void kill()
override;
Connecting(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Connecting.
void moduleFailed() override
void connectAllPorts() override
Dead(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Dead.
void moduleFailed() override
Dying(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Dying.
void disconnectAllPorts() override
void stopModule() override
void moduleFailed() override
void killModule() override
static FSM::Event * connectAllPortsEventFailed
static FSM::Event * startModuleEventOk
static FSM::Event * startModuleEventFailed
static FSM::Event * stopModuleEventFailed
static FSM::Event * killModuleEventOk
static FSM::Event * startEvent
Initializing event factory.
static FSM::Event * killEvent
static FSM::Event * connectAllPortsEventOk
static FSM::Event * disconnectAllPortsEventOk
static FSM::Event * killModuleEventFailed
static FSM::Event * failedEvent
static FSM::Event * recoverEvent
static FSM::Event * stopModuleEventOk
static FSM::Event * stopEvent
ExecMachine(Executable *pExecutable)
Class ExecMachine.
void onTransition(FSM::StateBase *previous, FSM::Event *event, FSM::StateBase *current) override
Callback onTransition represents the change in the states.
void disconnectAllPorts()
void connectionFailed(void *which)
all transitions are used in state machine
virtual void stopModule()
virtual void startModule()
virtual void connectionFailed(void *which)
virtual void disconnectAllPorts()
virtual ~ITransition()=default
virtual void connectAllPorts()
virtual void moduleFailed()=0
virtual void killModule()
void moduleFailed() override
Ready(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Ready.
void startModule() override
void connectionFailed(void *which) override
void moduleFailed() override
Running(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Running.
Suspended(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Suspended.
void moduleFailed() override
The main, catch-all namespace for YARP.