OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::Machine< TOP > Class Template Reference

#include <StaticFSM.h>

Inheritance diagram for RTC::Machine< TOP >:
Collaboration diagram for RTC::Machine< TOP >:

Public Member Functions

 Machine (RTC::RTObject_impl *comp)
 
 ~Machine () override=default
 
virtual RingBuffer< EventBase * > & getBuffer ()
 
virtual void run_event ()
 
- Public Member Functions inherited from Macho::Machine< TOP >
 Machine ()
 
 Machine (const Alias &state)
 
 ~Machine () override
 
AfterAdvice operator-> ()
 
void dispatch (IEvent< TOP > *event, bool destroy=true)
 
const TOP::Box & box () const
 
- Public Member Functions inherited from Macho::_MachineBase
class Alias currentState () const
 

Friends

template<class C , class P >
class Link
 
template<class T >
class Macho::StateID
 

Additional Inherited Members

- Protected Member Functions inherited from Macho::_MachineBase
 _MachineBase ()
 
virtual ~_MachineBase ()
 
void setState (_StateInstance &instance, _Initializer *init)
 
void setState (const Alias &state)
 
void setPendingState (_StateInstance &instance, _Initializer *init)
 
void setPendingEvent (_IEventBase *event)
 
void rattleOn ()
 
_StateInstance *& getInstance (ID id)
 
const _StateInstancegetInstance (ID id) const
 
void start (_StateInstance &instance)
 
void start (const Alias &state)
 
void shutdown ()
 
void allocate (unsigned int count)
 
void free (unsigned int count)
 
void clearHistoryDeep (unsigned int count, const _StateInstance &instance) const
 
- Protected Attributes inherited from Macho::_MachineBase
_StateInstancemyCurrentState {nullptr}
 
_StateInstancemyPendingState {nullptr}
 
_InitializermyPendingInit {nullptr}
 
void * myPendingBox {nullptr}
 
_IEventBasemyPendingEvent {nullptr}
 
_StateInstance ** myInstances
 

Detailed Description

template<class TOP>
class RTC::Machine< TOP >

This is modified version of Macho::Machine class. In this version, the constructor receives RTObject_impl* and it is kept to call callback functions.

Constructor & Destructor Documentation

◆ Machine()

template<class TOP >
RTC::Machine< TOP >::Machine ( RTC::RTObject_impl * comp)
inline

◆ ~Machine()

template<class TOP >
RTC::Machine< TOP >::~Machine ( )
overridedefault

Member Function Documentation

◆ getBuffer()

template<class TOP >
virtual RingBuffer< EventBase * > & RTC::Machine< TOP >::getBuffer ( )
inlinevirtual

◆ run_event()

template<class TOP >
virtual void RTC::Machine< TOP >::run_event ( )
inlinevirtual

Friends And Related Symbol Documentation

◆ Link

template<class TOP >
template<class C , class P >
friend class Link
friend

◆ Macho::StateID

template<class TOP >
template<class T >
friend class Macho::StateID
friend

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