Public Types |
typedef
sttcl::internal::ConcurrentCompositeStateBase
< CompositeStateImpl,
StateMachineImpl, IInnerState,
NumOfRegions, EventArgs,
StateBaseImpl > | ConcurrenCompositeStateBaseType |
typedef StateMachineImpl | StateMachineClass |
typedef
ConcurrenCompositeStateBaseType::RegionBaseType | RegionsBaseType |
typedef
ConcurrenCompositeStateBaseType::RegionsArray | RegionsArray |
typedef IInnerState | InnerStateInterface |
typedef
StateMachineImpl::StateInterface | OuterStateInterface |
typedef
ConcurrentCompositeBaseImplementationSelector
< CompositeStateImpl,
StateMachineImpl, IInnerState,
NumOfRegions, EventArgs,
StateBaseImpl > | BaseClassSelectorType |
typedef
BaseClassSelectorType::RESULT_TYPE | BaseClassType |
typedef StateBaseImpl | StateImplementationBase |
typedef
StateMachineImpl::StateInterface | StateInterface |
typedef
StateMachineImpl::StateBaseClass | StateBaseClass |
typedef
BaseClassType::RegionBaseType | RegionBaseType |
typedef StateMachineImpl | Context |
typedef
sttcl::internal::EventArgsInterfaceSelector
< StateMachineImpl,
IInnerState, EventArgs > | EventArgsSelectorType |
typedef
EventArgsSelectorType::RefCountPtr | RefCountPtr |
typedef
StateMachineImpl::StateInterface | OuterEventHandler |
typedef
EventArgsSelectorType::InnerEventHandler | InnerEventHandler |
template<class CompositeStateImpl, class StateMachineImpl, class IInnerState, unsigned int NumOfRegions = 1, class EventArgs = void, class StateBaseImpl = State<CompositeStateImpl,StateMachineImpl,typename StateMachineImpl::StateInterface>>
class sttcl::ConcurrentCompositeState< CompositeStateImpl, StateMachineImpl, IInnerState, NumOfRegions, EventArgs, StateBaseImpl >
Represents the base class for an orthogonal composite state implementation.
- Template Parameters:
-
CompositeStateImpl | The implementing class. |
StateMachineImpl | The containing state machine class. |
IInnerState | The inner state's interface class type. |
NumOfRegions | The number of orthogonal state regions (default is 1). |
EventArgs | The dispatch event arguments type (default is void). |
StateBaseImpl | The State class base implementation (default is State<CompositeStateImpl,StateMachineImpl,StateMachineImpl::StateInterface>) |
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions = 1, class EventArgs = void, class StateBaseImpl = State<CompositeStateImpl,StateMachineImpl,typename StateMachineImpl::StateInterface>>
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions = 1, class EventArgs = void, class StateBaseImpl = State<CompositeStateImpl,StateMachineImpl,typename StateMachineImpl::StateInterface>>
Constructor for class ConcurrentCompositeState.
- Parameters:
-
context | The containing state machine context. |
argRegions | A reference to the concrete array of regions in the concurrent composite state. |
template<class CompositeStateImpl , class StateMachineImpl , class IInnerState , unsigned int NumOfRegions = 1, class EventArgs = void, class StateBaseImpl = State<CompositeStateImpl,StateMachineImpl,typename StateMachineImpl::StateInterface>>
Changes context state machine to another sibling state.
- Parameters:
-
context | A pointer to the containing state machine. |
newState | A pointer to the sibling state to change to. |