VPTissue Reference Manual
|
Simple state machine with 3 states: "disabled", "enabled-not-running" and "enabled-running". More...
#include <SessionController.h>
Public Member Functions | |
SessionController (QWidget *parent) | |
void | Disable () |
void | Enable (const std::shared_ptr< Ws::IProject > &project) |
QAction * | GetActionRun () const |
QAction * | GetActionSingleStep () const |
bool | IsEnabled () const |
bool | IsRunning () const |
void | SetRunning (bool) |
Simple state machine with 3 states: "disabled", "enabled-not-running" and "enabled-running".
Resembles the boolean "simulation running" property of an opened project. Owner of actions to start/stop the simulation of an opened project, or performing a single step.
Definition at line 44 of file SessionController.h.