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

#include <Macho.h>

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

Classes

struct  AfterAdvice
 

Public Member Functions

 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 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
 

Constructor & Destructor Documentation

◆ Machine() [1/2]

template<class TOP >
Macho::Machine< TOP >::Machine ( )
inline

◆ Machine() [2/2]

template<class TOP >
Macho::Machine< TOP >::Machine ( const Alias & state)
inline

◆ ~Machine()

Member Function Documentation

◆ box()

template<class TOP >
const TOP::Box & Macho::Machine< TOP >::box ( ) const
inline

◆ dispatch()

template<class TOP >
void Macho::Machine< TOP >::dispatch ( IEvent< TOP > * event,
bool destroy = true )
inline

◆ operator->()

template<class TOP >
AfterAdvice Macho::Machine< TOP >::operator-> ( )
inline

Friends And Related Symbol Documentation

◆ Link

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

◆ StateID

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

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