sttcl
v0.9c
STTCL C++ template state machine framework
|
#include <Region.h>
Public Types | |
typedef RegionBase < RegionContainerImpl, IInnerState, EventArgs > | RegionBaseClass |
typedef EventArgsInterfaceSelector < RegionContainerImpl, IInnerState, EventArgs > | EventArgsSelectorType |
typedef EventArgsSelectorType::RefCountPtr | RefCountPtr |
typedef EventArgsSelectorType::InnerEventHandler | InnerEventHandler |
typedef void(RegionBaseClass::* | InternalEventHandler )(bool) |
Public Member Functions | |
DispatchedEvent (RegionContainerImpl *argContext, IInnerState *argState, InnerEventHandler argHandler, RefCountPtr argEventArgs) | |
DispatchedEvent (InternalEventHandler argInternalHandler, bool argRecursiveInternalEvent) | |
DispatchedEvent (const DispatchedEvent &rhs) | |
DispatchedEvent & | operator= (const DispatchedEvent &rhs) |
Public Attributes | |
RegionContainerImpl * | context |
IInnerState * | state |
InnerEventHandler | handler |
RefCountPtr | eventArgs |
InternalEventHandler | internalHandler |
bool | recursiveInternalEvent |
Container struct to dispatch events to the inner region thread.
typedef EventArgsInterfaceSelector<RegionContainerImpl,IInnerState,EventArgs> sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::EventArgsSelectorType |
typedef EventArgsSelectorType::InnerEventHandler sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::InnerEventHandler |
The inner event handler signature.
typedef void(RegionBaseClass::* sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::InternalEventHandler)(bool) |
The internal event handler signature.
typedef EventArgsSelectorType::RefCountPtr sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::RefCountPtr |
The pointer type used to pass event arguments to the contained regions inner states.
typedef RegionBase<RegionContainerImpl,IInnerState,EventArgs> sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::RegionBaseClass |
The RegionBase class type.
|
inline |
Constructor for struct DispatchedEvent, constructs an inner state event.
argContext | |
argState | |
argHandler | |
argEventArgs |
|
inline |
Constructor for struct DispatchedEvent, constructs an internal event.
argInternalHandler | |
argRecursiveInternalEvent |
|
inline |
Copy constructor for struct DispatchedEvent.
rhs |
|
inline |
Copy constructor for struct DispatchedEvent.
rhs |
RegionContainerImpl* sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::context |
The context state machine where the event was issued.
|
mutable |
The event arguments pointer to pass to the dispatched inner event handler method.
InnerEventHandler sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::handler |
The dispatched inner event handler method.
InternalEventHandler sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::internalHandler |
The dispatched internal event handler method.
bool sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::recursiveInternalEvent |
The flag passed to the dispatched internal event handler method.
IInnerState* sttcl::internal::DispatchedEvent< RegionContainerImpl, IInnerState, EventArgs >::state |
The inner region state for calling the dispatched event handler.