Struct ApplicationHandler

Nested Relationships

Nested Types

Inheritance Relationships

Base Types

Struct Documentation

struct ApplicationHandler : public SmartPeak::IParametersObserver, public SmartPeak::IWorkflowObserver

Public Functions

ApplicationHandler()
virtual void onParametersUpdated() override

IParametersObserver

virtual void onWorkflowUpdated() override

IWorkflowObserver

void closeSession()

clear all data in the aapplication handler.

bool sessionIsOpened() const

check if one session is currently opened

bool sessionIsSaved() const

return the saved status of the session

void setFileSavedState(const std::string &file_id, bool saved_state)

Set one file saved status.

bool isFileSaved(const std::string &file_id) const

returns weither a file is saved

ParameterSet getWorkflowParameterSchema()

returns Parameter Schema of the current Workflow

Public Members

std::filesystem::path sequence_pathname_
std::filesystem::path main_dir_ = "."
SequenceHandler sequenceHandler_
Filenames filenames_
std::vector<std::shared_ptr<IFilenamesHandler>> loading_processors_
std::vector<std::shared_ptr<IFilenamesHandler>> storing_processors_
SessionLoaderGenerator session_loader_generator

Protected Attributes

std::map<std::string, bool> saved_files_
class Command

Public Types

enum CommandType

Values:

enumerator RawDataMethod
enumerator SequenceSegmentMethod
enumerator SampleGroupMethod

Public Functions

void setMethod(const std::shared_ptr<RawDataProcessor> method)
void setMethod(const std::shared_ptr<SequenceSegmentProcessor> method)
void setMethod(const std::shared_ptr<SampleGroupProcessor> method)
std::string getName() const
ParameterSet getParameterSchema() const
std::string getDescription() const
CommandType getType() const
std::set<std::string> getInputs() const
std::set<std::string> getOutputs() const

Public Members

enum SmartPeak::ApplicationHandler::Command::CommandType type
std::shared_ptr<RawDataProcessor> raw_data_method
std::shared_ptr<SequenceSegmentProcessor> seq_seg_method
std::shared_ptr<SampleGroupProcessor> sample_group_method
std::map<std::string, Filenames> dynamic_filenames