NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
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 37 of file cxWorkflowStateMachine.h.

Constructor & Destructor Documentation

◆ WorkflowStateMachine()

cx::WorkflowStateMachine::WorkflowStateMachine ( CoreServicesPtr  services)

Definition at line 24 of file cxWorkflowStateMachine.cpp.

◆ ~WorkflowStateMachine()

cx::WorkflowStateMachine::~WorkflowStateMachine ( )
virtual

Definition at line 35 of file cxWorkflowStateMachine.cpp.

Member Function Documentation

◆ activeStateAboutToChange

void cx::WorkflowStateMachine::activeStateAboutToChange ( )
signal

◆ activeStateChanged

void cx::WorkflowStateMachine::activeStateChanged ( )
signal

◆ getActionGroup()

QActionGroup * cx::WorkflowStateMachine::getActionGroup ( )

Definition at line 64 of file cxWorkflowStateMachine.cpp.

◆ getActiveUidState()

QString cx::WorkflowStateMachine::getActiveUidState ( )

Definition at line 101 of file cxWorkflowStateMachine.cpp.

◆ newState()

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

Definition at line 49 of file cxWorkflowStateMachine.cpp.

◆ setActiveState()

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

Definition at line 94 of file cxWorkflowStateMachine.cpp.

Member Data Documentation

◆ mParentState

WorkflowState* cx::WorkflowStateMachine::mParentState
protected

Definition at line 60 of file cxWorkflowStateMachine.h.

◆ mServices

CoreServicesPtr cx::WorkflowStateMachine::mServices
protected

Definition at line 61 of file cxWorkflowStateMachine.h.


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