ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::dpm::DaqWorkspace Class Referenceabstract

Interface to DAQ workpace (TBD). More...

#include <workspace.hpp>

+ Inheritance diagram for daq::dpm::DaqWorkspace:

Public Member Functions

virtual ~DaqWorkspace ()
 
virtual auto GetPath () const -> std::filesystem::path=0
 
virtual auto GetSourcesPath () const -> std::filesystem::path=0
 
virtual auto Exists (std::filesystem::path const &) const -> bool=0
 
virtual auto GetResultPath () const -> std::filesystem::path=0
 
virtual void MakeResultSymlink (std::filesystem::path const &result) const =0
 Create symlink to result file. More...
 
Load/store DAQ status
virtual auto LoadStatus () const -> Status=0
 
virtual void StoreStatus (Status const &status) const =0
 
Load/store DAQ sources
virtual auto GetSourceLookupPath () const -> std::filesystem::path=0
 
virtual auto LoadSourceLookup () const -> SourceResolver::Mapping=0
 
virtual void StoreSourceLookup (SourceResolver::Mapping const &status) const =0
 
Load/store Data Product specification.
virtual auto GetSpecificationPath () const -> std::filesystem::path=0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual auto LoadSpecification () const -> json::DpSpec=0
 Get file name of the data product specification stored in StoreSpecification() More...
 
virtual void StoreSpecification (std::string const &specification) const =0
 Get file name of the data product specification stored in StoreSpecification() More...
 

Detailed Description

Interface to DAQ workpace (TBD).

Definition at line 27 of file workspace.hpp.

Constructor & Destructor Documentation

◆ ~DaqWorkspace()

virtual daq::dpm::DaqWorkspace::~DaqWorkspace ( )
inlinevirtual

Definition at line 29 of file workspace.hpp.

Member Function Documentation

◆ Exists()

virtual auto daq::dpm::DaqWorkspace::Exists ( std::filesystem::path const &  ) const -> bool
pure virtual
Returns
true if file exists, false otherwise

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ GetPath()

virtual auto daq::dpm::DaqWorkspace::GetPath ( ) const -> std::filesystem::path
pure virtual
Returns
Absolute path to workspace.

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ GetResultPath()

virtual auto daq::dpm::DaqWorkspace::GetResultPath ( ) const -> std::filesystem::path
pure virtual
Returns
Root directory where the (unique) data product results should be written.

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ GetSourceLookupPath()

virtual auto daq::dpm::DaqWorkspace::GetSourceLookupPath ( ) const -> std::filesystem::path
pure virtual

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ GetSourcesPath()

virtual auto daq::dpm::DaqWorkspace::GetSourcesPath ( ) const -> std::filesystem::path
pure virtual
Returns
path relative to root containing source files.

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ GetSpecificationPath()

virtual auto daq::dpm::DaqWorkspace::GetSpecificationPath ( ) const -> std::filesystem::path
pure virtual

Get file name of the data product specification stored in StoreSpecification()

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ LoadSourceLookup()

virtual auto daq::dpm::DaqWorkspace::LoadSourceLookup ( ) const -> SourceResolver::Mapping
pure virtual

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ LoadSpecification()

virtual auto daq::dpm::DaqWorkspace::LoadSpecification ( ) const -> json::DpSpec
pure virtual

Get file name of the data product specification stored in StoreSpecification()

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ LoadStatus()

virtual auto daq::dpm::DaqWorkspace::LoadStatus ( ) const -> Status
pure virtual

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ MakeResultSymlink()

virtual void daq::dpm::DaqWorkspace::MakeResultSymlink ( std::filesystem::path const &  result) const
pure virtual

Create symlink to result file.

Used to create relative symlink between

Parameters
resultAbsolute path to file result.

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ StoreSourceLookup()

virtual void daq::dpm::DaqWorkspace::StoreSourceLookup ( SourceResolver::Mapping const &  status) const
pure virtual

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ StoreSpecification()

virtual void daq::dpm::DaqWorkspace::StoreSpecification ( std::string const &  specification) const
pure virtual

Get file name of the data product specification stored in StoreSpecification()

Implemented in daq::dpm::DaqWorkspaceImpl.

◆ StoreStatus()

virtual void daq::dpm::DaqWorkspace::StoreStatus ( Status const &  status) const
pure virtual

Implemented in daq::dpm::DaqWorkspaceImpl.


The documentation for this class was generated from the following file: