sttcl  v0.9c
STTCL C++ template state machine framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl > Class Template Reference

#include <ConcurrentCompositeState.h>

Inheritance diagram for sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >:

List of all members.

Protected Types

typedef RegionBase
< CompositeStateImpl,
IInnerState, EventArgs > 
RegionBaseType
typedef RegionBaseTypeRegionsArray [NumOfRegions]
typedef StateMachineImpl Context
typedef
sttcl::internal::EventArgsInterfaceSelector
< CompositeStateImpl,
IInnerState, EventArgs > 
EventArgsSelectorType
typedef
EventArgsSelectorType::RefCountPtr 
RefCountPtr
typedef
StateMachineImpl::StateInterface 
OuterEventHandler
typedef
EventArgsSelectorType::InnerEventHandler 
InnerEventHandler

Protected Member Functions

 ConcurrentCompositeStateWithEventArgs (const RegionsArray &argRegions)
void broadcastEvent (Context *context, InnerEventHandler eventHandler, RefCountPtr eventArgs)

Protected Attributes

const RegionsArrayregions

Member Typedef Documentation

template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef StateMachineImpl sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::Context
protected
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef sttcl::internal::EventArgsInterfaceSelector<CompositeStateImpl,IInnerState,EventArgs> sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::EventArgsSelectorType
protected
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef EventArgsSelectorType::InnerEventHandler sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::InnerEventHandler
protected
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef StateMachineImpl::StateInterface sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::OuterEventHandler
protected
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef EventArgsSelectorType::RefCountPtr sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::RefCountPtr
protected

The pointer type used to pass event arguments to the contained regions inner states.

Reimplemented in sttcl::internal::ConcurrentCompositeStateBase< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >.

template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef RegionBase<CompositeStateImpl,IInnerState,EventArgs> sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::RegionBaseType
protected
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
typedef RegionBaseType* sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::RegionsArray[NumOfRegions]
protected

Constructor & Destructor Documentation

template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::ConcurrentCompositeStateWithEventArgs ( const RegionsArray argRegions)
inlineprotected

Member Function Documentation

template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
void sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::broadcastEvent ( Context context,
InnerEventHandler  eventHandler,
RefCountPtr  eventArgs 
)
inlineprotected

Broadcasts an event to all contained regions.

Parameters:
contextA pointer to the containing state machine.
eventHandlerThe event handler to call inside all region threads.
eventArgsThe event arguments to pass to the event handler calls.

Member Data Documentation

template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions, class EventArgs , class StateBaseImpl >
const RegionsArray& sttcl::internal::ConcurrentCompositeStateWithEventArgs< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >::regions
protected

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