Struct LoadSession

Inheritance Relationships

Base Types

Struct Documentation

struct LoadSession : public SmartPeak::ApplicationProcessor, public SmartPeak::IFilePickerHandler

Public Functions

virtual bool onFilePicked(const std::filesystem::path &filename, ApplicationHandler *application_handler) override
LoadSession() = default

Check consistency of data contained in files.

inline explicit LoadSession(ApplicationHandler &application_handler, WorkflowManager &workflow_manager, IApplicationProcessorObserver *application_processor_observer = nullptr, ISequenceProcessorObserver *sequence_processor_observer = nullptr, ISequenceSegmentProcessorObserver *sequence_segment_processor_observer = nullptr, ISampleGroupProcessorObserver *sample_group_processor_observer = nullptr)
virtual bool doProcess() override
inline virtual std::string getName() const override

Get the processor struct name

inline virtual std::string getDescription() const override

Get the processor struct description

Public Members

std::optional<Filenames> filenames_
std::optional<Filenames> filenames_override_

Pathnames to load - if not set, read it from session.

std::optional<ParameterSet> parameters_override_

Pathnames override.

std::optional<std::vector<std::string>> workflow_override_

Parameters override.

std::string delimiter = ","

Workflow override.

bool checkConsistency = true

String delimiter of the imported file.

Protected Functions

bool overrideFilenames()
bool overrideParameters()
bool overrideWorkflow()
bool readFilenames()
bool readInputFiles()
bool readLoadingWorkflow()
bool runLoadingWorkflow()

Protected Attributes

WorkflowManager &workflow_manager_
IApplicationProcessorObserver *application_processor_observer_
ISequenceProcessorObserver *sequence_processor_observer_
ISequenceSegmentProcessorObserver *sequence_segment_processor_observer_
ISampleGroupProcessorObserver *sample_group_processor_observer_