|
|
#include <ArmarXCore/statechart/StateBaseImpl.h>
Public Types | |
| using | StateInstanceMap = std::map<int, StateBase*> |
| using | StateInstanceMapPtr = std::shared_ptr<StateInstanceMap> |
Public Member Functions | |
| Impl () | |
Public Attributes | |
| RecursiveMutex | __eventBufferMutex |
| HiddenTimedMutex | __eventUnbreakableBufferMutex |
| StateBase * | __parentState |
| RecursiveMutex | __processEventMutex |
| HiddenTimedMutex | __processEventsMutex |
| HiddenTimedMutex | __stateMutex |
| bool | __useRunFunction |
| bool | cancelEnteringSubstates |
| GetActiveStateLeafs returns the list of leaf-states that are active at the moment. | |
| StatechartContextInterface * | context |
| Pointer to the StatechartContext to the single instance per application. | |
| ConditionalVariable | initCondition |
| Mutex | initMutex |
| std::vector< std::string > | inputInheritance |
| int | localUniqueId |
| An in this process unique id for the state. | |
| StatechartManager * | manager |
| StateInstanceMapPtr | stateInstancesPtr |
| StatePhase | statePhase |
| Mutex | statePhaseMutex |
| EventPtr | triggeredEndstateEvent |
| This variable contains the event of the end substate that was entered to leave this state. | |
| long | visitCounter |
| long | visitTimeStamp |
| This property is needed for identification at what time this state was entered the last time. | |
Static Public Attributes | |
| static int | __LocalIdCounter = 0 |
| Unique Identifier counter for this process for identifing states. | |
| static HiddenTimedMutex * | __StateInstancesMutex = new HiddenTimedMutex() |
| static StateInstanceMapPtr | StateInstances |
| Static map that contains all the states that are alive in this process. | |
Definition at line 10 of file StateBaseImpl.h.
| using StateInstanceMap = std::map<int, StateBase*> |
Definition at line 56 of file StateBaseImpl.h.
| using StateInstanceMapPtr = std::shared_ptr<StateInstanceMap> |
Definition at line 57 of file StateBaseImpl.h.
|
inline |
Definition at line 12 of file StateBaseImpl.h.
| RecursiveMutex __eventBufferMutex |
Definition at line 39 of file StateBaseImpl.h.
| HiddenTimedMutex __eventUnbreakableBufferMutex |
Definition at line 40 of file StateBaseImpl.h.
|
static |
Unique Identifier counter for this process for identifing states.
Definition at line 37 of file StateBaseImpl.h.
| StateBase* __parentState |
Definition at line 62 of file StateBaseImpl.h.
| RecursiveMutex __processEventMutex |
Definition at line 41 of file StateBaseImpl.h.
| HiddenTimedMutex __processEventsMutex |
Definition at line 42 of file StateBaseImpl.h.
|
static |
Definition at line 38 of file StateBaseImpl.h.
| HiddenTimedMutex __stateMutex |
Definition at line 43 of file StateBaseImpl.h.
| bool __useRunFunction |
Definition at line 49 of file StateBaseImpl.h.
| bool cancelEnteringSubstates |
GetActiveStateLeafs returns the list of leaf-states that are active at the moment.
| toplevelState | State from which the active substate is to be returned. |
Definition at line 87 of file StateBaseImpl.h.
| StatechartContextInterface* context |
Pointer to the StatechartContext to the single instance per application.
Contains proxies to observers and units. Used to operate with distributed components over ice.
Definition at line 33 of file StateBaseImpl.h.
|
mutable |
Definition at line 22 of file StateBaseImpl.h.
|
mutable |
Definition at line 23 of file StateBaseImpl.h.
| std::vector<std::string> inputInheritance |
Definition at line 45 of file StateBaseImpl.h.
| int localUniqueId |
An in this process unique id for the state.
Definition at line 67 of file StateBaseImpl.h.
| StatechartManager* manager |
Definition at line 34 of file StateBaseImpl.h.
|
static |
Static map that contains all the states that are alive in this process.
Definition at line 59 of file StateBaseImpl.h.
| StateInstanceMapPtr stateInstancesPtr |
Definition at line 60 of file StateBaseImpl.h.
| StatePhase statePhase |
Definition at line 25 of file StateBaseImpl.h.
|
mutable |
Definition at line 26 of file StateBaseImpl.h.
| EventPtr triggeredEndstateEvent |
This variable contains the event of the end substate that was entered to leave this state.
Definition at line 54 of file StateBaseImpl.h.
| long visitCounter |
Definition at line 46 of file StateBaseImpl.h.
| long visitTimeStamp |
This property is needed for identification at what time this state was entered the last time.
The reason is, that events should only be processed by a state, if the events were installed in this visit to this state.
Definition at line 77 of file StateBaseImpl.h.