|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
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;
235 #endif // __YARP_MANAGER_Exec_State__
static FSM::Event * disconnectAllPortsEventOk
void connectAllPorts() override
Dead(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Dead.
static FSM::Event * connectAllPortsEventOk
static FSM::Event * stopEvent
static FSM::Event * killModuleEventOk
void disconnectAllPorts()
static FSM::Event * recoverEvent
static FSM::Event * startModuleEventFailed
static FSM::Event * startModuleEventOk
virtual ~ITransition()=default
static FSM::Event * stopModuleEventOk
void disconnectAllPorts() override
static FSM::Event * connectAllPortsEventFailed
all transitions are used in state machine
Connecting(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Connecting.
void moduleFailed() override
static FSM::Event * stopModuleEventFailed
virtual void killModule()
Running(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Running.
virtual void startModule()
void moduleFailed() override
virtual void moduleFailed()=0
void stopModule() override
void moduleFailed() override
virtual void stopModule()
void onTransition(FSM::StateBase *previous, FSM::Event *event, FSM::StateBase *current) override
Callback onTransition represents the change in the states.
Ready(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Ready.
Dying(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Dying.
void startModule() override
static FSM::Event * failedEvent
Suspended(Executable *pExecutable, FSM::IEventSink *pEventSink)
Class Suspended.
void moduleFailed() override
virtual void disconnectAllPorts()
void connectionFailed(void *which) override
static FSM::Event * startEvent
Initializing event factory.
virtual void connectAllPorts()
void killModule() override
The main, catch-all namespace for YARP.
static FSM::Event * killEvent
ExecMachine(Executable *pExecutable)
Class ExecMachine.
void moduleFailed() override
static FSM::Event * killModuleEventFailed
virtual void connectionFailed(void *which)
void moduleFailed() override
void connectionFailed(void *which)