Interface to per-DAQ workpace.
More...
#include <workspace.hpp>
Interface to per-DAQ workpace.
Definition at line 27 of file workspace.hpp.
◆ ~DaqWorkspace()
| virtual daq::dpm::DaqWorkspace::~DaqWorkspace |
( |
| ) |
|
|
inlinevirtual |
◆ Exists()
| virtual auto daq::dpm::DaqWorkspace::Exists |
( |
std::filesystem::path const & |
path, |
|
|
std::filesystem::file_type |
type = std::filesystem::file_type::regular |
|
) |
| const -> bool |
|
pure virtual |
- Returns
- true if file exists, false otherwise
- Parameters
-
| path | Absolute or if relative, relative to workspace root GetPath(). |
| type | Specifies the expected type. |
- Returns
- true if path exist, and if the file type matches type.
-
false otherwise.
Implemented in daq::dpm::DaqWorkspaceImpl.
◆ GetPath()
| virtual auto daq::dpm::DaqWorkspace::GetPath |
( |
| ) |
const -> std::filesystem::path |
|
pure virtual |
◆ GetResultPath()
| virtual auto daq::dpm::DaqWorkspace::GetResultPath |
( |
| ) |
const -> std::filesystem::path |
|
pure virtual |
◆ GetSourceLookupPath()
| virtual auto daq::dpm::DaqWorkspace::GetSourceLookupPath |
( |
| ) |
const -> std::filesystem::path |
|
pure virtual |
◆ GetSourcesPath()
| virtual auto daq::dpm::DaqWorkspace::GetSourcesPath |
( |
| ) |
const -> std::filesystem::path |
|
pure virtual |
◆ GetSpecificationPath()
| virtual auto daq::dpm::DaqWorkspace::GetSpecificationPath |
( |
| ) |
const -> std::filesystem::path |
|
pure virtual |
◆ LoadSourceLookup()
◆ LoadSpecification()
| virtual auto daq::dpm::DaqWorkspace::LoadSpecification |
( |
| ) |
const -> json::DpSpec |
|
pure virtual |
◆ LoadStatus()
| virtual auto daq::dpm::DaqWorkspace::LoadStatus |
( |
| ) |
const -> Status |
|
pure virtual |
◆ MakeHardLink()
| virtual auto daq::dpm::DaqWorkspace::MakeHardLink |
( |
std::filesystem::path const & |
target, |
|
|
std::filesystem::path const & |
link |
|
) |
| const -> std::error_code |
|
pure virtual |
Create hard link at to target
- Note
- This only affects the DaqWorkspace if the provided paths are located therein.
- Parameters
-
| target | hard link source path. This path must exist. |
| link | hard link to create. |
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 to the data product file. The symlink is created with name result in the DAQ workspace.
- Parameters
-
| result | Absolute path to data product file result. |
Implemented in daq::dpm::DaqWorkspaceImpl.
◆ MakeSymlink()
| virtual auto daq::dpm::DaqWorkspace::MakeSymlink |
( |
std::filesystem::path const & |
target, |
|
|
std::filesystem::path const & |
link |
|
) |
| const -> std::error_code |
|
pure virtual |
Create symbolic link at to target
- Note
- This only affects the DaqWorkspace if the provided paths are located therein.
- Parameters
-
| target | symlink source path. This path must exist. |
| link | symlink to create. |
Implemented in daq::dpm::DaqWorkspaceImpl.
◆ StoreSourceLookup()
◆ StoreSpecification()
| virtual void daq::dpm::DaqWorkspace::StoreSpecification |
( |
std::string const & |
specification | ) |
const |
|
pure virtual |
◆ StoreStatus()
| virtual void daq::dpm::DaqWorkspace::StoreStatus |
( |
Status const & |
status | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: