VPTissue Reference Manual
SimShell::Gui::Controller::SessionController Class Reference

Simple state machine with 3 states: "disabled", "enabled-not-running" and "enabled-running". More...

#include <SessionController.h>

Inheritance diagram for SimShell::Gui::Controller::SessionController:
Inheritance graph
Collaboration diagram for SimShell::Gui::Controller::SessionController:
Collaboration graph

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)
 

Detailed Description

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.


The documentation for this class was generated from the following files: