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
The – [inout] application_handler that gets copied and then updated at the end of the workflow run
injection_names – [in] Injection names to use for Sequence Processing
sequence_segment_names – [in] Sequence Segment Names to use for Sequence Segment Processing
sample_group_names – [in] Sample Group Names to use for Sample Group Processing
commands – [in] 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.
-
inline std::chrono::steady_clock::duration
getLastRunTime() const¶ returns the last run time.
-
void