ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Interface to interact with DPM workspace. More...
#include <workspace.hpp>
Public Member Functions | |
virtual | ~Workspace () |
virtual auto | GetPath () const -> std::filesystem::path=0 |
virtual auto | InitializeDaq (std::string const &daq_id) -> std::unique_ptr< DaqWorkspace >=0 |
Initializes new DAQ Workspace. More... | |
virtual auto | LoadDaq (std::string const &daq_id) -> std::unique_ptr< DaqWorkspace >=0 |
Loads a previously initialized DAQ workspace. More... | |
virtual auto | ArchiveDaq (std::string const &daq_id) -> std::filesystem::path=0 |
Archives specified DAQ witout deleting any files, typically by moving it to a specific location in the workspace. More... | |
virtual void | RemoveDaq (std::string const &daq_id)=0 |
Removes workspace and all containing files for DAQ without archiving it. More... | |
virtual auto | EnumerateDaqs () const -> std::vector< std::string >=0 |
Enumerates in-progress DAQs by querying file system rather than relying on the queue file. More... | |
virtual auto | QueryStorageStatus () const -> std::filesystem::space_info=0 |
Queries available storage for workspace. More... | |
Load/store DAQ queue | |
virtual auto | LoadQueue () const -> std::vector< std::string >=0 |
virtual void | StoreQueue (std::vector< std::string > const &queue) const =0 |
Interface to interact with DPM workspace.
The DPM workspace allows:
Definition at line 98 of file workspace.hpp.
|
inlinevirtual |
Definition at line 100 of file workspace.hpp.
|
pure virtual |
Archives specified DAQ witout deleting any files, typically by moving it to a specific location in the workspace.
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Enumerates in-progress DAQs by querying file system rather than relying on the queue file.
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Initializes new DAQ Workspace.
Creates a private workspace for DAQ merging.
If workspace creation fails rollback of changes to filesystem will be attempted (deleting files and directories just created).
daq_id | Data Acquisition Id. |
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Loads a previously initialized DAQ workspace.
daq_id | Data Acquisition Id. |
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
|
pure virtual |
Removes workspace and all containing files for DAQ without archiving it.
Workspace is e.g. removed either if user aborts a Data Acquisition or to roll back failed initialization of a workspace.
daq_id | Data Acquisition id. |
Implemented in daq::dpm::WorkspaceImpl.
|
pure virtual |
Implemented in daq::dpm::WorkspaceImpl.