sttcl
v0.9c
STTCL C++ template state machine framework
|
#include <Region.h>
Public Types | |
typedef EventArgsInterfaceSelector < RegionContainerImpl, IInnerState, EventArgs > | EventArgsSelectorType |
typedef EventArgsSelectorType::RefCountPtr | RefCountPtr |
typedef EventArgsSelectorType::InnerEventHandler | InnerEventHandler |
Public Member Functions | |
virtual void | handleBroadcastedEvent (RegionContainerImpl *context, InnerEventHandler eventHandler, RefCountPtr eventArgs)=0 |
virtual | ~IRegionEventDispatchWithArgs () |
typedef EventArgsInterfaceSelector<RegionContainerImpl,IInnerState,EventArgs> sttcl::internal::IRegionEventDispatchWithArgs< RegionContainerImpl, IInnerState, EventArgs >::EventArgsSelectorType |
typedef EventArgsSelectorType::InnerEventHandler sttcl::internal::IRegionEventDispatchWithArgs< RegionContainerImpl, IInnerState, EventArgs >::InnerEventHandler |
The inner event handler signature.
Reimplemented in sttcl::Region< RegionImpl, RegionContainerImpl, IInnerState, EventArgs, HistoryType, StateThreadType, TimeDurationType, SemaphoreType, MutexType, EventQueueType >, sttcl::internal::RegionBaseImplWithoutEventArgs< RegionImpl, RegionContainerImpl, IInnerState, EventArgs >, sttcl::internal::RegionBaseImplWithEventArgs< RegionImpl, RegionContainerImpl, IInnerState, EventArgs >, and sttcl::RegionBase< RegionContainerImpl, IInnerState, EventArgs >.
typedef EventArgsSelectorType::RefCountPtr sttcl::internal::IRegionEventDispatchWithArgs< RegionContainerImpl, IInnerState, EventArgs >::RefCountPtr |
The pointer type used to pass event arguments to the contained regions inner states.
Reimplemented in sttcl::Region< RegionImpl, RegionContainerImpl, IInnerState, EventArgs, HistoryType, StateThreadType, TimeDurationType, SemaphoreType, MutexType, EventQueueType >, sttcl::internal::RegionBaseImplWithoutEventArgs< RegionImpl, RegionContainerImpl, IInnerState, EventArgs >, sttcl::internal::RegionBaseImplWithEventArgs< RegionImpl, RegionContainerImpl, IInnerState, EventArgs >, and sttcl::RegionBase< RegionContainerImpl, IInnerState, EventArgs >.
|
inlinevirtual |
|
pure virtual |
Called to handle an event broadcasted from the containing ConcurrentCompositeState instance.
context | A pointer to the containing state machine. |
eventHandler | The event handler to call inside the region thread. |
eventArgs | The event arguments to pass to the event handler call. |
Implemented in sttcl::internal::RegionBaseImplWithEventArgs< RegionImpl, RegionContainerImpl, IInnerState, EventArgs >.