OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
Macho::_MachineBase Class Reference

#include <Macho.h>

Inheritance diagram for Macho::_MachineBase:
Collaboration diagram for Macho::_MachineBase:

Public Member Functions

class Alias currentState () const
 

Protected Member Functions

 _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

_StateInstancemyCurrentState {nullptr}
 
_StateInstancemyPendingState {nullptr}
 
_InitializermyPendingInit {nullptr}
 
void * myPendingBox {nullptr}
 
_IEventBasemyPendingEvent {nullptr}
 
_StateInstance ** myInstances
 

Friends

template<class C , class P >
class Link
 
template<class T >
class TopBase
 
class _StateSpecification
 
class Alias
 
class _AdaptingInitializer
 
class _StateInstance
 
class ::TestAccess
 

Constructor & Destructor Documentation

◆ _MachineBase()

Macho::_MachineBase::_MachineBase ( )
protected

◆ ~_MachineBase()

virtual Macho::_MachineBase::~_MachineBase ( )
protectedvirtual

Member Function Documentation

◆ allocate()

void Macho::_MachineBase::allocate ( unsigned int count)
protected

◆ clearHistoryDeep()

void Macho::_MachineBase::clearHistoryDeep ( unsigned int count,
const _StateInstance & instance ) const
protected

◆ currentState()

class Alias Macho::_MachineBase::currentState ( ) const

◆ free()

void Macho::_MachineBase::free ( unsigned int count)
protected

◆ getInstance() [1/2]

_StateInstance *& Macho::_MachineBase::getInstance ( ID id)
inlineprotected

◆ getInstance() [2/2]

const _StateInstance * Macho::_MachineBase::getInstance ( ID id) const
inlineprotected

References myInstances.

◆ rattleOn()

void Macho::_MachineBase::rattleOn ( )
protected

◆ setPendingEvent()

void Macho::_MachineBase::setPendingEvent ( _IEventBase * event)
inlineprotected

References myPendingEvent.

◆ setPendingState()

◆ setState() [1/2]

void Macho::_MachineBase::setState ( _StateInstance & instance,
_Initializer * init )
protected

◆ setState() [2/2]

void Macho::_MachineBase::setState ( const Alias & state)
protected

◆ shutdown()

void Macho::_MachineBase::shutdown ( )
protected

◆ start() [1/2]

void Macho::_MachineBase::start ( _StateInstance & instance)
protected

◆ start() [2/2]

void Macho::_MachineBase::start ( const Alias & state)
protected

Friends And Related Symbol Documentation

◆ ::TestAccess

friend class ::TestAccess
friend

◆ _AdaptingInitializer

friend class _AdaptingInitializer
friend

◆ _StateInstance

friend class _StateInstance
friend

◆ _StateSpecification

friend class _StateSpecification
friend

◆ Alias

friend class Alias
friend

◆ Link

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

◆ TopBase

template<class T >
friend class TopBase
friend

Member Data Documentation

◆ myCurrentState

◆ myInstances

_StateInstance** Macho::_MachineBase::myInstances
protected

Referenced by getInstance(), and getInstance().

◆ myPendingBox

void* Macho::_MachineBase::myPendingBox {nullptr}
protected

◆ myPendingEvent

_IEventBase* Macho::_MachineBase::myPendingEvent {nullptr}
protected

Referenced by setPendingEvent().

◆ myPendingInit

_Initializer* Macho::_MachineBase::myPendingInit {nullptr}
protected

Referenced by setPendingState().

◆ myPendingState

_StateInstance* Macho::_MachineBase::myPendingState {nullptr}
protected

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