YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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.
 
 ~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.
 
- Protected Member Functions inherited from FSM::StateMachineBase
virtual void onEventMissed (StateBase *state, Event *event)
 

Detailed Description

Class ExecMachine.

Definition at line 195 of file execstate.h.

Constructor & Destructor Documentation

◆ ExecMachine()

ExecMachine::ExecMachine ( Executable pExecutable)

Class ExecMachine.

Definition at line 557 of file execstate.cpp.

◆ ~ExecMachine()

ExecMachine::~ExecMachine ( )
override

Definition at line 619 of file execstate.cpp.

Member Function Documentation

◆ connectAllPorts()

void ExecMachine::connectAllPorts ( )

Definition at line 685 of file execstate.cpp.

◆ connectionFailed()

void ExecMachine::connectionFailed ( void *  which)

Definition at line 709 of file execstate.cpp.

◆ disconnectAllPorts()

void ExecMachine::disconnectAllPorts ( )

Definition at line 693 of file execstate.cpp.

◆ kill()

void ExecMachine::kill ( )

Definition at line 653 of file execstate.cpp.

◆ killModule()

void ExecMachine::killModule ( )

Definition at line 677 of file execstate.cpp.

◆ moduleFailed()

void ExecMachine::moduleFailed ( )

Definition at line 701 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 718 of file execstate.cpp.

◆ refresh()

void ExecMachine::refresh ( )

Definition at line 629 of file execstate.cpp.

◆ start()

void ExecMachine::start ( )

Definition at line 637 of file execstate.cpp.

◆ startModule()

void ExecMachine::startModule ( )

Definition at line 661 of file execstate.cpp.

◆ stop()

void ExecMachine::stop ( )

Definition at line 645 of file execstate.cpp.

◆ stopModule()

void ExecMachine::stopModule ( )

Definition at line 669 of file execstate.cpp.


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