#include <FlowWriter.hpp>
Definition at line 15 of file FlowWriter.hpp.
◆ ~FlowWriter()
| virtual mxl::lib::FlowWriter::~FlowWriter |
( |
| ) |
|
|
virtual |
◆ FlowWriter() [1/2]
| mxl::lib::FlowWriter::FlowWriter |
( |
uuids::uuid && | flowId, |
|
|
std::filesystem::path const & | domain ) |
|
protected |
Definition at line 9 of file FlowWriter.cpp.
12 {}
std::filesystem::path _domain
◆ FlowWriter() [2/2]
| mxl::lib::FlowWriter::FlowWriter |
( |
uuids::uuid const & | flowId, |
|
|
std::filesystem::path const & | domain ) |
|
protected |
◆ checkPermissions()
| bool mxl::lib::FlowWriter::checkPermissions |
( |
| ) |
const |
|
nodiscardprotected |
Verifies that we can traverse and write into the domain directory.
- Returns
- true if the flow domain is writable, false otherwise.
Definition at line 26 of file FlowWriter.cpp.
27 {
28
29 return std::filesystem::is_directory(
_domain) && (::access(
_domain.c_str(), X_OK | W_OK) == 0);
30 }
◆ getFlowConfigInfo()
◆ getFlowData() [1/2]
| virtual FlowData const & mxl::lib::FlowWriter::getFlowData |
( |
| ) |
const |
|
nodiscardpure virtual |
◆ getFlowData() [2/2]
| virtual FlowData & mxl::lib::FlowWriter::getFlowData |
( |
| ) |
|
|
nodiscardpure virtual |
◆ getFlowInfo()
| virtual mxlFlowInfo mxl::lib::FlowWriter::getFlowInfo |
( |
| ) |
const |
|
nodiscardpure virtual |
◆ getFlowRuntimeInfo()
◆ getId()
| uuids::uuid const & mxl::lib::FlowWriter::getId |
( |
| ) |
const |
|
nodiscard |
Accessor for the flow id;
- Returns
- The flow id
Definition at line 21 of file FlowWriter.cpp.
◆ isExclusive()
| virtual bool mxl::lib::FlowWriter::isExclusive |
( |
| ) |
const |
|
pure virtual |
◆ makeExclusive()
| virtual bool mxl::lib::FlowWriter::makeExclusive |
( |
| ) |
|
|
pure virtual |
◆ _domain
| std::filesystem::path mxl::lib::FlowWriter::_domain |
|
private |
◆ _flowId
| uuids::uuid mxl::lib::FlowWriter::_flowId |
|
private |
The documentation for this class was generated from the following files: