Fraxinus  16.5.0-fx-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

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

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

Definition at line 77 of file cxWorkflowState.h.

Member Function Documentation

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

Definition at line 101 of file cxWorkflowState.cpp.

void cx::WorkflowState::canEnterSlot ( )
slot

Definition at line 89 of file cxWorkflowState.cpp.

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

Definition at line 71 of file cxWorkflowState.cpp.

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

Definition at line 109 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 83 of file cxWorkflowState.h.

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

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

Member Data Documentation

QAction* cx::WorkflowState::mAction
protected

Definition at line 105 of file cxWorkflowState.h.

QString cx::WorkflowState::mName
protected

Definition at line 104 of file cxWorkflowState.h.

CoreServicesPtr cx::WorkflowState::mServices
protected

Definition at line 106 of file cxWorkflowState.h.

QString cx::WorkflowState::mUid
protected

Definition at line 103 of file cxWorkflowState.h.


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