ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Internal data structure to SchedulerImpl. More...
#include <scheduler.hpp>
Public Types | |
using | RsyncFactory = std::function< std::unique_ptr< RsyncAsyncProcessIf >(boost::asio::io_context &, std::string const &, std::string const &, RsyncOptions const &, RsyncAsyncProcess::DryRun)> |
using | ProcFactory = std::function< std::unique_ptr< AsyncProcessIf >(boost::asio::io_context &, std::vector< std::string > const &)> |
Public Member Functions | |
DaqControllerImpl (rad::IoExecutor &executor, std::unique_ptr< DaqWorkspace > workspace, Resources &resources, RsyncFactory rsync_factory, ProcFactory proc_factory, DaqControllerOptions opts) | |
Construct controller for existing workspace. More... | |
void | Start () override |
Start/stop operations. More... | |
void | Stop () override |
auto | IsStopped () const noexcept -> bool override |
auto | GetId () const noexcept -> std::string const &override |
auto | GetErrorFlag () const noexcept -> bool override |
auto | GetState () const noexcept -> State override |
auto | GetResult () const noexcept -> std::filesystem::path const &override |
auto | GetStatus () noexcept -> ObservableStatus &override |
auto | GetStatus () const noexcept -> ObservableStatus const &override |
void | Poll () override |
Public Member Functions inherited from daq::dpm::DaqController | |
virtual | ~DaqController () |
Internal data structure to SchedulerImpl.
Definition at line 480 of file scheduler.hpp.
using daq::dpm::DaqControllerImpl::ProcFactory = std::function<std::unique_ptr<AsyncProcessIf>( boost::asio::io_context&, std::vector<std::string> const&)> |
Definition at line 489 of file scheduler.hpp.
using daq::dpm::DaqControllerImpl::RsyncFactory = std::function<std::unique_ptr<RsyncAsyncProcessIf>(boost::asio::io_context&, std::string const&, std::string const&, RsyncOptions const&, RsyncAsyncProcess::DryRun)> |
Definition at line 482 of file scheduler.hpp.
daq::dpm::DaqControllerImpl::DaqControllerImpl | ( | rad::IoExecutor & | executor, |
std::unique_ptr< DaqWorkspace > | workspace, | ||
Resources & | resources, | ||
RsyncFactory | rsync_factory, | ||
ProcFactory | proc_factory, | ||
DaqControllerOptions | opts | ||
) |
Construct controller for existing workspace.
std-exception | (possibly nested) containing error. |
Definition at line 390 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 475 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 471 of file scheduler.cpp.
|
inlineoverridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 523 of file scheduler.hpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 479 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 487 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 483 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 467 of file scheduler.cpp.
|
overridevirtual |
Implements daq::dpm::DaqController.
Definition at line 508 of file scheduler.cpp.
|
overridevirtual |
Start/stop operations.
This assumes the implementation has an internal scheduler that it uses.
Implements daq::dpm::DaqController.
Definition at line 458 of file scheduler.cpp.
|
overridevirtual |
Implements daq::dpm::DaqController.
Definition at line 463 of file scheduler.cpp.