9 #ifndef YARP_MANAGER_Exec_State
10 #define YARP_MANAGER_Exec_State
73 void start()
override;
101 bool checkPriorityPorts();
102 bool checkResources(
bool silent=
true);
103 bool timeout(
double base,
double timeout);
119 void kill()
override;
125 bool checkNormalPorts();
142 void kill()
override;
143 void start()
override;
144 void stop()
override;
164 void kill()
override;
185 void start()
override;
186 void stop()
override;
187 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.