Async 1.8.0
Async::Macho::Machine< TOP > Class Template Reference

#include <AsyncMacho.h>

Inheritance diagram for Async::Macho::Machine< TOP >:
Async::Macho::_MachineBase

Classes

struct  AfterAdvice
 

Public Member Functions

 Machine (typename TOP::Box *box=0)
 
 Machine (const Alias &state, typename TOP::Box *box=0)
 
 ~Machine ()
 
AfterAdvice operator-> ()
 
void dispatch (IEvent< TOP > *event, bool destroy=true)
 
const TOP::Box & box () const
 
- Public Member Functions inherited from Async::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 Async::Macho::_MachineBase
 _MachineBase ()
 
 ~_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)
 
- Protected Attributes inherited from Async::Macho::_MachineBase
_StateInstancemyCurrentState
 
_StateInstancemyPendingState
 
_InitializermyPendingInit
 
void * myPendingBox
 
_IEventBasemyPendingEvent
 
_StateInstance ** myInstances
 

Detailed Description

template<class TOP>
class Async::Macho::Machine< TOP >

Definition at line 1708 of file AsyncMacho.h.

Constructor & Destructor Documentation

◆ Machine() [1/2]

template<class TOP >
Async::Macho::Machine< TOP >::Machine ( typename TOP::Box * box = 0)
inline

Definition at line 1729 of file AsyncMacho.h.

◆ Machine() [2/2]

template<class TOP >
Async::Macho::Machine< TOP >::Machine ( const Alias & state,
typename TOP::Box * box = 0 )
inline

Definition at line 1744 of file AsyncMacho.h.

◆ ~Machine()

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

Definition at line 1786 of file AsyncMacho.h.

Member Function Documentation

◆ box()

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

Definition at line 1813 of file AsyncMacho.h.

◆ dispatch()

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

Definition at line 1803 of file AsyncMacho.h.

◆ operator->()

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

Definition at line 1794 of file AsyncMacho.h.

Friends And Related Symbol Documentation

◆ Link

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

Definition at line 1820 of file AsyncMacho.h.

◆ StateID

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

Definition at line 1830 of file AsyncMacho.h.


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