YARP
Yet Another Robot Platform
yarp::manager::ExecMachine Class Reference

Class ExecMachine. More...

#include <yarp/manager/execstate.h>

+ Inheritance diagram for yarp::manager::ExecMachine:

Public Member Functions

 ExecMachine (Executable *pExecutable)
 Class ExecMachine. More...
 
 ~ExecMachine () override
 
void refresh ()
 
void start ()
 
void stop ()
 
void kill ()
 
void startModule ()
 
void stopModule ()
 
void killModule ()
 
void connectAllPorts ()
 
void disconnectAllPorts ()
 
void moduleFailed ()
 
void connectionFailed (void *which)
 
- Public Member Functions inherited from FSM::StateMachineBase
 StateMachineBase ()
 
 ~StateMachineBase () override=default
 
StateBasecurrentState ()
 
void setInitState (StateBase *pState)
 
void addTransition (StateBase *source, Event *event, StateBase *target)
 
void castEvent (Event *event) override
 
- Public Member Functions inherited from FSM::IEventSink
 IEventSink ()=default
 
virtual ~IEventSink ()=default
 

Protected Member Functions

void onTransition (FSM::StateBase *previous, FSM::Event *event, FSM::StateBase *current) override
 Callback onTransition represents the change in the states. More...
 
- Protected Member Functions inherited from FSM::StateMachineBase
virtual void onEventMissed (StateBase *state, Event *event)
 

Detailed Description

Class ExecMachine.

Definition at line 199 of file execstate.h.

Constructor & Destructor Documentation

◆ ExecMachine()

ExecMachine::ExecMachine ( Executable pExecutable)

Class ExecMachine.

Definition at line 544 of file execstate.cpp.

◆ ~ExecMachine()

ExecMachine::~ExecMachine ( )
override

Definition at line 606 of file execstate.cpp.

Member Function Documentation

◆ connectAllPorts()

void ExecMachine::connectAllPorts ( )

Definition at line 672 of file execstate.cpp.

◆ connectionFailed()

void ExecMachine::connectionFailed ( void *  which)

Definition at line 696 of file execstate.cpp.

◆ disconnectAllPorts()

void ExecMachine::disconnectAllPorts ( )

Definition at line 680 of file execstate.cpp.

◆ kill()

void ExecMachine::kill ( )

Definition at line 640 of file execstate.cpp.

◆ killModule()

void ExecMachine::killModule ( )

Definition at line 664 of file execstate.cpp.

◆ moduleFailed()

void ExecMachine::moduleFailed ( )

Definition at line 688 of file execstate.cpp.

◆ onTransition()

void ExecMachine::onTransition ( FSM::StateBase previous,
FSM::Event event,
FSM::StateBase current 
)
overrideprotectedvirtual

Callback onTransition represents the change in the states.

Reimplemented from FSM::StateMachineBase.

Definition at line 705 of file execstate.cpp.

◆ refresh()

void ExecMachine::refresh ( )

Definition at line 616 of file execstate.cpp.

◆ start()

void ExecMachine::start ( )

Definition at line 624 of file execstate.cpp.

◆ startModule()

void ExecMachine::startModule ( )

Definition at line 648 of file execstate.cpp.

◆ stop()

void ExecMachine::stop ( )

Definition at line 632 of file execstate.cpp.

◆ stopModule()

void ExecMachine::stopModule ( )

Definition at line 656 of file execstate.cpp.


The documentation for this class was generated from the following files: