CustusX  22.04-rc5
An IGT application
cxStateServiceNull.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXSTATESERVICENULL_H
12 #define CXSTATESERVICENULL_H
13 
14 #include "cxStateService.h"
15 
16 namespace cx
17 {
18 
22 class cxResource_EXPORT StateServiceNull: public StateService
23 {
24 Q_OBJECT
25 
26 public:
28  virtual ~StateServiceNull() {}
29 
30  virtual QString getVersionName();
31 // virtual QActionGroup* getApplicationActions();
32  virtual QString getApplicationStateName() const;
33  virtual QStringList getAllApplicationStateNames() const;
34 
35  virtual QActionGroup* getWorkflowActions();
36  virtual void setWorkFlowState(QString uid);
37 
38  virtual Desktop getActiveDesktop();
39  virtual void saveDesktop(Desktop desktop);
40  virtual void resetDesktop();
41  virtual WorkflowStateMachinePtr getWorkflow();
42 
43  virtual bool isNull();
44 
45 private:
46  QActionGroup* mActionGroup;
47 };
48 
49 }
50 
51 #endif // CXSTATESERVICENULL_H
Workflow states for CustusX.
boost::shared_ptr< class WorkflowStateMachine > WorkflowStateMachinePtr
Data class for CustusX desktop.
Namespace for all CustusX production code.