CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::WorkflowState Class Referenceabstract

State in a WorkflowStateMachine. More...

#include <cxWorkflowState.h>

Inheritance diagram for cx::WorkflowState:
cx::IntraOpImagingWorkflowState cx::NavigationWorkflowState cx::ParentWorkflowState cx::PatientDataWorkflowState cx::PostOpControllWorkflowState cx::PreOpPlanningWorkflowState cx::RegistrationWorkflowState

Signals

void aboutToExit ()
 

Public Member Functions

 WorkflowState (QState *parent, QString uid, QString name, CoreServicesPtr services)
 
virtual ~WorkflowState ()
 
virtual void onEntry (QEvent *event)
 
virtual void onExit (QEvent *event)
 
virtual QString getUid () const
 
virtual QString getName () const
 
std::vector< WorkflowState * > getChildStates ()
 
QAction * createAction (QActionGroup *group)
 

Protected Slots

void canEnterSlot ()
 
void setActionSlot ()
 

Protected Member Functions

virtual bool canEnter () const =0
 
virtual QIcon getIcon () const =0
 
void autoStartHardware ()
 

Protected Attributes

QString mUid
 
QString mName
 
QAction * mAction
 
CoreServicesPtr mServices
 

Detailed Description

State in a WorkflowStateMachine.

Date
4. aug. 2010
Author
jbake

Definition at line 63 of file cxWorkflowState.h.

Constructor & Destructor Documentation

cx::WorkflowState::WorkflowState ( QState *  parent,
QString  uid,
QString  name,
CoreServicesPtr  services 
)
inline

Definition at line 68 of file cxWorkflowState.h.

virtual cx::WorkflowState::~WorkflowState ( )
inlinevirtual

Definition at line 76 of file cxWorkflowState.h.

Member Function Documentation

void cx::WorkflowState::aboutToExit ( )
signal
void cx::WorkflowState::autoStartHardware ( )
protected

Definition at line 100 of file cxWorkflowState.cpp.

void cx::WorkflowState::canEnterSlot ( )
protectedslot

Definition at line 88 of file cxWorkflowState.cpp.

QAction * cx::WorkflowState::createAction ( QActionGroup *  group)

Definition at line 71 of file cxWorkflowState.cpp.

std::vector< WorkflowState * > cx::WorkflowState::getChildStates ( )

Definition at line 58 of file cxWorkflowState.cpp.

virtual QString cx::WorkflowState::getName ( ) const
inlinevirtual

Definition at line 82 of file cxWorkflowState.h.

virtual QString cx::WorkflowState::getUid ( ) const
inlinevirtual

Definition at line 81 of file cxWorkflowState.h.

void cx::WorkflowState::onEntry ( QEvent *  event)
virtual
void cx::WorkflowState::onExit ( QEvent *  event)
virtual

Reimplemented in cx::ParentWorkflowState.

Definition at line 53 of file cxWorkflowState.cpp.

void cx::WorkflowState::setActionSlot ( )
protectedslot

Definition at line 94 of file cxWorkflowState.cpp.

Member Data Documentation

QAction* cx::WorkflowState::mAction
protected

Definition at line 101 of file cxWorkflowState.h.

QString cx::WorkflowState::mName
protected

Definition at line 100 of file cxWorkflowState.h.

CoreServicesPtr cx::WorkflowState::mServices
protected

Definition at line 102 of file cxWorkflowState.h.

QString cx::WorkflowState::mUid
protected

Definition at line 99 of file cxWorkflowState.h.


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