50 WorkflowState(parent,
"NavigationUid",
"Navigation", services)
62 return mServices->patient()->isPatientValid();
72 WorkflowState(parent,
"RegistrationUid",
"Registration", services)
82 return mServices->patient()->isPatientValid();
93 WorkflowState(parent,
"PreOpPlanningUid",
"Preoperative Planning", services)
100 return !
mServices->patient()->getData().empty();
110 WorkflowState(parent,
"IntraOpImagingUid",
"Intraoperative Imaging", services)
122 return mServices->patient()->isPatientValid();
132 WorkflowState(parent,
"PostOpControllUid",
"Postoperative Control", services)
139 return !
mServices->patient()->getData().empty();
PreOpPlanningWorkflowState(QState *parent, CoreServicesPtr services)
CoreServicesPtr mServices
virtual bool canEnter() const
virtual void onEntry(QEvent *event)
RegistrationWorkflowState(QState *parent, CoreServicesPtr services)
virtual bool canEnter() const
PostOpControllWorkflowState(QState *parent, CoreServicesPtr services)
virtual void onEntry(QEvent *event)
virtual bool canEnter() const
virtual bool canEnter() const
virtual bool canEnter() const
State in a WorkflowStateMachine.
IntraOpImagingWorkflowState(QState *parent, CoreServicesPtr services)
boost::shared_ptr< class CoreServices > CoreServicesPtr
NavigationWorkflowState(QState *parent, CoreServicesPtr services)