29 WorkflowState(parent,
"NavigationUid",
"Navigation", services)
42 return mServices->patient()->isPatientValid();
52 WorkflowState(parent,
"RegistrationUid",
"Registration", services)
62 return mServices->patient()->isPatientValid();
73 WorkflowState(parent,
"PreOpPlanningUid",
"Preoperative Planning", services)
80 return !
mServices->patient()->getDatas().empty();
90 WorkflowState(parent,
"IntraOpImagingUid",
"Intraoperative Imaging", services)
103 return mServices->patient()->isPatientValid();
113 WorkflowState(parent,
"PostOpControllUid",
"Postoperative Control", services)
120 return !
mServices->patient()->getDatas().empty();
virtual void onEntry(QEvent *event)
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)
Namespace for all CustusX production code.