sttcl  v0.9c
STTCL C++ template state machine framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sttcl::internal::EventArgsInterfaceSelector< RegionContainerImpl, IInnerState, EventArgsType > Struct Template Reference

#include <Region.h>

List of all members.

Public Types

typedef sttcl::RefCountPtr
< EventArgsType > 
RefCountPtr
typedef void(IInnerState::* InnerEventHandler )(RegionContainerImpl *, RegionBase< RegionContainerImpl, IInnerState, EventArgsType > *, RefCountPtr)

Detailed Description

template<class RegionContainerImpl, class IInnerState, class EventArgsType>
struct sttcl::internal::EventArgsInterfaceSelector< RegionContainerImpl, IInnerState, EventArgsType >

Used to select an EventArgs passing interface for ConcurrentCompositeState and Region.

Template Parameters:
EventArgsTypeThe event arguments type.
InnerStateTypeThe state base class type of the composite states inner states.

Member Typedef Documentation

template<class RegionContainerImpl , class IInnerState , class EventArgsType >
typedef void(IInnerState::* sttcl::internal::EventArgsInterfaceSelector< RegionContainerImpl, IInnerState, EventArgsType >::InnerEventHandler)(RegionContainerImpl *, RegionBase< RegionContainerImpl, IInnerState, EventArgsType > *, RefCountPtr)

The inner states event handler signature. All methods of the IInnerState interface must have this signature. The first parameter is a pointer to the containing state machine. The second parameter is a pointer to the region base class that contains the inner state. The third parameter is a pointer to additional event arguments as specified with the EventArgs template parameter.

template<class RegionContainerImpl , class IInnerState , class EventArgsType >
typedef sttcl::RefCountPtr<EventArgsType> sttcl::internal::EventArgsInterfaceSelector< RegionContainerImpl, IInnerState, EventArgsType >::RefCountPtr

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


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