Class WorkflowManager¶
Defined in File WorkflowManager.h
Class Documentation¶
-
class
SmartPeak::WorkflowManager¶ Public Functions
-
void
addWorkflow(ApplicationHandler &source_state, const std::set<std::string> &injection_names, const std::set<std::string> &sequence_segment_names, const std::set<std::string> &sample_group_names, const std::vector<ApplicationHandler::Command> &commands)¶ Copies the passed application_handler and sets up the async run of the workflow. Only one workflow is managed at a time
- Parameters
[inout] The: application_handler that gets copied and then updated at the end of the workflow run[in] injection_names: Injection names to use for Sequence Processing[in] sequence_segment_names: Sequence Segment Names to use for Sequence Segment Processing[in] sample_group_names: Sample Group Names to use for Sample Group Processing[in] commands: Workflow steps
-
bool
isWorkflowDone() const¶ If this returns false, new workflows can’t run and the following menu items are disabled in the UI:
File -> Load session from sequence
Edit -> Workflow
Action -> Run command
Action -> Run workflow
-
void
updateApplicationHandler(ApplicationHandler &source_app_handler)¶ Update the application handler with the resulting application handler must be called from the main thread.
-
void