CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ctkWorkflowIntrastepTransitionEvent Struct Reference

Custom transitions for use with ctkWorkflow. More...

#include <Libs/Core/ctkWorkflowTransitions.h>

Inheritance diagram for ctkWorkflowIntrastepTransitionEvent:
Inheritance graph
[legend]
Collaboration diagram for ctkWorkflowIntrastepTransitionEvent:
Collaboration graph
[legend]

Public Member Functions

 ctkWorkflowIntrastepTransitionEvent (int newTransitionType)
 EventTransitionType is the value of a transition event, used to conditionally trigger transitions. More...
 

Static Public Member Functions

static int getWorkflowIntrastepTransitionEventType ()
 

Public Attributes

int EventTransitionType
 

Detailed Description

Custom transitions for use with ctkWorkflow.

ctkWorkflowIntrastepTransition: for transition between states of the same step. The transition occurs only when the transition event's EventTransitionType matches the transition's TransitionType).

ctkWorkflowInterstepTransition: for transition between states of different steps. The transition occurs only when the transition event's EventTransitionType matches the transition's TransitionType and the transition event's EventId matches the transition's Id.

Definition at line 44 of file ctkWorkflowTransitions.h.

Constructor & Destructor Documentation

◆ ctkWorkflowIntrastepTransitionEvent()

ctkWorkflowIntrastepTransitionEvent::ctkWorkflowIntrastepTransitionEvent ( int  newTransitionType)
inline

EventTransitionType is the value of a transition event, used to conditionally trigger transitions.

Definition at line 48 of file ctkWorkflowTransitions.h.

Member Function Documentation

◆ getWorkflowIntrastepTransitionEventType()

static int ctkWorkflowIntrastepTransitionEvent::getWorkflowIntrastepTransitionEventType ( )
inlinestatic

Reserve a custom event type, ensuring that we are not re-using an event type that was previously used

Definition at line 54 of file ctkWorkflowTransitions.h.

Member Data Documentation

◆ EventTransitionType

int ctkWorkflowIntrastepTransitionEvent::EventTransitionType

Definition at line 60 of file ctkWorkflowTransitions.h.


The documentation for this struct was generated from the following file: