NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Workflow states for CustusX. More...
#include <cxStateService.h>
Signals | |
void | workflowStateChanged () |
void | workflowStateAboutToChange () |
void | applicationStateChanged () |
Public Member Functions | |
virtual | ~StateService () |
virtual QString | getVersionName ()=0 |
virtual QString | getApplicationStateName () const =0 |
virtual QStringList | getAllApplicationStateNames () const =0 |
virtual QActionGroup * | getWorkflowActions ()=0 |
virtual void | setWorkFlowState (QString uid)=0 |
virtual Desktop | getActiveDesktop ()=0 |
virtual void | saveDesktop (Desktop desktop)=0 |
virtual void | resetDesktop ()=0 |
virtual WorkflowStateMachinePtr | getWorkflow ()=0 |
virtual bool | isNull ()=0 |
Static Public Member Functions | |
static StateServicePtr | getNullObject () |
Protected Member Functions | |
void | fillDefaultSettings () |
template<class T > | |
void | fillDefault (QString name, T value) |
Workflow states for CustusX.
Maintains global state. The responsibility of this service has been reduced, it now controls the workflow steps.
The use of CustusX during a surgical procedure can be broken down into a series of steps:
This is the main workflow. Each step is named a Workflow State, and are states in StateManager. They can be customized in the State Manager, and they have a unique GUI setup.
During each step, There are operations that usually are performed in sequence. Examples:
These automations can be set in Preferences->Automation.
Definition at line 102 of file cxStateService.h.
|
inlinevirtual |
Definition at line 107 of file cxStateService.h.
|
signal |
|
inlineprotected |
Definition at line 127 of file cxStateService.h.
|
protected |
Enter all default Settings here.
Definition at line 54 of file cxStateService.cpp.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
static |
Definition at line 43 of file cxStateService.cpp.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
pure virtual |
Implemented in cx::StateServiceImpl, cx::StateServiceProxy, and cx::StateServiceNull.
|
signal |
|
signal |