CustusX  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::WorkflowStateMachine Class Reference

State Machine for the Workflow Steps. More...

#include <cxWorkflowStateMachine.h>

Inheritance diagram for cx::WorkflowStateMachine:
cx::CustusXWorkflowStateMachine

Signals

void activeStateChanged ()
 
void activeStateAboutToChange ()
 

Public Member Functions

 WorkflowStateMachine (CoreServicesPtr services)
 
virtual ~WorkflowStateMachine ()
 
QActionGroup * getActionGroup ()
 
QString getActiveUidState ()
 
void setActiveState (QString uid)
 

Protected Member Functions

virtual WorkflowStatenewState (WorkflowState *state)
 

Protected Attributes

WorkflowStatemParentState
 
CoreServicesPtr mServices
 

Detailed Description

State Machine for the Workflow Steps.

See StateService for a description.

Date
4. aug. 2010
Author
Janne Beate Bakeng, SINTEF

Definition at line 58 of file cxWorkflowStateMachine.h.

Constructor & Destructor Documentation

cx::WorkflowStateMachine::WorkflowStateMachine ( CoreServicesPtr  services)

Definition at line 45 of file cxWorkflowStateMachine.cpp.

cx::WorkflowStateMachine::~WorkflowStateMachine ( )
virtual

Definition at line 56 of file cxWorkflowStateMachine.cpp.

Member Function Documentation

void cx::WorkflowStateMachine::activeStateAboutToChange ( )
signal
void cx::WorkflowStateMachine::activeStateChanged ( )
signal
QActionGroup * cx::WorkflowStateMachine::getActionGroup ( )

Definition at line 85 of file cxWorkflowStateMachine.cpp.

QString cx::WorkflowStateMachine::getActiveUidState ( )

Definition at line 122 of file cxWorkflowStateMachine.cpp.

WorkflowState * cx::WorkflowStateMachine::newState ( WorkflowState state)
protectedvirtual

Definition at line 70 of file cxWorkflowStateMachine.cpp.

void cx::WorkflowStateMachine::setActiveState ( QString  uid)

Definition at line 115 of file cxWorkflowStateMachine.cpp.

Member Data Documentation

WorkflowState* cx::WorkflowStateMachine::mParentState
protected

Definition at line 81 of file cxWorkflowStateMachine.h.

CoreServicesPtr cx::WorkflowStateMachine::mServices
protected

Definition at line 82 of file cxWorkflowStateMachine.h.


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