Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
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

Public Slots

void canEnterSlot ()
 

Signals

void aboutToExit ()
 

Public Member Functions

 WorkflowState (QState *parent, QString uid, QString name, CoreServicesPtr services, bool enableAction=true)
 
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)
 
virtual void enableAction (bool enable)
 

Protected Slots

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 42 of file cxWorkflowState.h.

Constructor & Destructor Documentation

cx::WorkflowState::WorkflowState ( QState *  parent,
QString  uid,
QString  name,
CoreServicesPtr  services,
bool  enableAction = true 
)
inline

Definition at line 47 of file cxWorkflowState.h.

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

Definition at line 56 of file cxWorkflowState.h.

Member Function Documentation

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

Definition at line 80 of file cxWorkflowState.cpp.

void cx::WorkflowState::canEnterSlot ( )
slot

Definition at line 68 of file cxWorkflowState.cpp.

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

Definition at line 50 of file cxWorkflowState.cpp.

void cx::WorkflowState::enableAction ( bool  enable)
virtual

Definition at line 88 of file cxWorkflowState.cpp.

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

Definition at line 37 of file cxWorkflowState.cpp.

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

Definition at line 62 of file cxWorkflowState.h.

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

Definition at line 61 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 32 of file cxWorkflowState.cpp.

void cx::WorkflowState::setActionSlot ( )
protectedslot

Definition at line 74 of file cxWorkflowState.cpp.

Member Data Documentation

QAction* cx::WorkflowState::mAction
protected

Definition at line 84 of file cxWorkflowState.h.

QString cx::WorkflowState::mName
protected

Definition at line 83 of file cxWorkflowState.h.

CoreServicesPtr cx::WorkflowState::mServices
protected

Definition at line 85 of file cxWorkflowState.h.

QString cx::WorkflowState::mUid
protected

Definition at line 82 of file cxWorkflowState.h.


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