|
|
#include <ArmarXCore/statechart/StatechartManager.h>
Inheritance diagram for StatechartManager:Public Types | |
| enum | StatechartManagerState { eConstructed, eRunning, eShutDown } |
Public Member Functions | |
| bool | addEvent (const EventPtr &newEvent, const StateControllerPtr &receivingState) |
| template<typename EventType > | |
| bool | addEvent (const StateControllerPtr &receivingState) |
| StatechartManagerState | getManagerState () const |
| StatePtr | getToplevelState () const |
| bool | isRunning () const |
| bool | isShutdown () const |
| bool | setToplevelState (const armarx::StatePtr &newToplevelState, StringVariantContainerBaseMap startParameters=StringVariantContainerBaseMap()) |
| setToplevelState sets the toplevel state of this manager. More... | |
| void | shutdown () |
| void | start (bool enterToplevelState=true) |
| StatechartManager () | |
| void | wakeUp () |
| wakeUp signals the event processing thread to wake up and check for new events or shutdown conditions More... | |
| ~StatechartManager () override | |
Public Member Functions inherited from Logging | |
| SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. More... | |
| MessageTypeT | getEffectiveLoggingLevel () const |
| Logging () | |
| void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
| void | setTag (const LogTag &tag) |
| void | setTag (const std::string &tagName) |
| virtual | ~Logging () |
Protected Member Functions | |
| virtual void | processEvents () |
Protected Member Functions inherited from Logging | |
| bool | checkLogLevel (MessageTypeT level) const |
| const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. More... | |
| LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Additional Inherited Members | |
Protected Attributes inherited from Logging | |
| MessageTypeT | minimumLoggingLevel |
| SpamFilterDataPtr | spamFilter |
| LogTag | tag |
Definition at line 40 of file StatechartManager.h.
| Enumerator | |
|---|---|
| eConstructed | |
| eRunning | |
| eShutDown | |
Definition at line 63 of file StatechartManager.h.
|
override |
| bool addEvent | ( | const EventPtr & | newEvent, |
| const StateControllerPtr & | receivingState | ||
| ) |
|
inline |
| StatechartManager::StatechartManagerState getManagerState | ( | ) | const |
Definition at line 172 of file StatechartManager.cpp.
| StatePtr getToplevelState | ( | ) | const |
Definition at line 62 of file StatechartManager.cpp.
| bool isRunning | ( | ) | const |
| bool isShutdown | ( | ) | const |
|
protectedvirtual |
Definition at line 218 of file StatechartManager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool setToplevelState | ( | const armarx::StatePtr & | newToplevelState, |
| StringVariantContainerBaseMap | startParameters = StringVariantContainerBaseMap() |
||
| ) |
setToplevelState sets the toplevel state of this manager.
This state will be started in start().
| newToplevelState | Pointer to the toplevel state |
| startParameters | Parameters that should be given to the toplevel state on startup. |
Definition at line 48 of file StatechartManager.cpp.
Here is the call graph for this function:| void shutdown | ( | ) |
Definition at line 102 of file StatechartManager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void start | ( | bool | enterToplevelState = true | ) |
| void wakeUp | ( | ) |
wakeUp signals the event processing thread to wake up and check for new events or shutdown conditions
Definition at line 179 of file StatechartManager.cpp.