|
KDStateMachineEditor API Documentation 2.3
|
#include <runtimecontroller.h>


Public Types | |
| typedef QSet< State * > | Configuration |
Signals | |
| void | activeConfigurationChanged (const QSet< KDSME::State * > &configuration) |
| void | activeRegionChanged (const QRectF ®ion) |
| void | isRunningChanged (bool isRunning) |
| void | lastTransitionChanged (KDSME::Transition *transition) |
Public Member Functions | |
| RuntimeController (QObject *parent=nullptr) | |
| ~RuntimeController () | |
| Configuration | activeConfiguration () const |
| Q_INVOKABLE float | activenessForState (KDSME::State *state) const |
| Q_INVOKABLE float | activenessForTransition (KDSME::Transition *transition) |
| QRectF | activeRegion () const |
| void | clear () |
| int | historySize () const |
| bool | isRunning () const |
| QList< Configuration > | lastConfigurations () const |
| Transition * | lastTransition () const |
| QList< Transition * > | lastTransitions () const |
| void | setActiveConfiguration (const Configuration &configuration) |
| void | setHistorySize (int size) |
| void | setIsRunning (bool isRunning) |
| void | setLastTransition (Transition *transition) |
Properties | |
| QSet< KDSME::State * > | activeConfiguration |
| QRectF | activeRegion |
| bool | isRunning |
| KDSME::Transition * | lastTransition |
Definition at line 30 of file runtimecontroller.h.
| typedef QSet<State *> KDSME::RuntimeController::Configuration |
Definition at line 39 of file runtimecontroller.h.
|
explicit |
Definition at line 66 of file runtimecontroller.cpp.
Referenced by KDSME::DebugInterfaceClient::DebugInterfaceClient().
| RuntimeController::~RuntimeController | ( | ) |
Definition at line 73 of file runtimecontroller.cpp.
| RuntimeController::Configuration RuntimeController::activeConfiguration | ( | ) | const |
Definition at line 99 of file runtimecontroller.cpp.
|
signal |
References activeConfigurationChanged().
Referenced by activeConfigurationChanged(), setActiveConfiguration(), and KDSME::SemanticZoomManager::setRuntimeController().
| float RuntimeController::activenessForState | ( | KDSME::State * | state | ) | const |
Definition at line 151 of file runtimecontroller.cpp.
| float RuntimeController::activenessForTransition | ( | KDSME::Transition * | transition | ) |
Definition at line 162 of file runtimecontroller.cpp.
| QRectF RuntimeController::activeRegion | ( | ) | const |
Definition at line 88 of file runtimecontroller.cpp.
|
signal |
References activeRegionChanged().
Referenced by activeRegionChanged().
| void RuntimeController::clear | ( | ) |
Definition at line 93 of file runtimecontroller.cpp.
| int RuntimeController::historySize | ( | ) | const |
Definition at line 77 of file runtimecontroller.cpp.
| bool RuntimeController::isRunning | ( | ) | const |
Definition at line 137 of file runtimecontroller.cpp.
|
signal |
References isRunning, and isRunningChanged().
Referenced by isRunningChanged(), and setIsRunning().
| QList< RuntimeController::Configuration > RuntimeController::lastConfigurations | ( | ) | const |
Definition at line 104 of file runtimecontroller.cpp.
| Transition * RuntimeController::lastTransition | ( | ) | const |
Definition at line 124 of file runtimecontroller.cpp.
|
signal |
References lastTransitionChanged().
Referenced by lastTransitionChanged().
| QList< Transition * > RuntimeController::lastTransitions | ( | ) | const |
Definition at line 119 of file runtimecontroller.cpp.
| void RuntimeController::setActiveConfiguration | ( | const Configuration & | configuration | ) |
Definition at line 109 of file runtimecontroller.cpp.
References activeConfigurationChanged().
| void RuntimeController::setHistorySize | ( | int | size | ) |
Definition at line 82 of file runtimecontroller.cpp.
| void RuntimeController::setIsRunning | ( | bool | isRunning | ) |
Definition at line 142 of file runtimecontroller.cpp.
References isRunning, and isRunningChanged().
| void RuntimeController::setLastTransition | ( | Transition * | transition | ) |
Definition at line 129 of file runtimecontroller.cpp.
|
read |
Definition at line 33 of file runtimecontroller.h.
|
read |
Definition at line 36 of file runtimecontroller.h.
|
read |
Definition at line 35 of file runtimecontroller.h.
Referenced by isRunningChanged(), and setIsRunning().
|
read |
Definition at line 34 of file runtimecontroller.h.