|
ifw-daq 3.1.0
IFW Data Acquisition modules
|
Internal data structure to SchedulerImpl. More...
#include <scheduler.hpp>
Inheritance diagram for daq::dpm::DaqControllerImpl: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. | |
| void | Start () override |
| Start/stop operations. | |
| 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 () |
| virtual auto | GetId () const noexcept -> std::string const &=0 |
| virtual auto | GetErrorFlag () const noexcept -> bool=0 |
| virtual auto | GetState () const noexcept -> State=0 |
| virtual auto | GetResult () const noexcept -> std::filesystem::path const &=0 |
| virtual auto | GetStatus () noexcept -> ObservableStatus &=0 |
| virtual auto | GetStatus () const noexcept -> ObservableStatus const &=0 |
| virtual void | Start ()=0 |
| Start/stop operations. | |
| virtual void | Stop ()=0 |
| virtual void | Poll ()=0 |
| virtual bool | IsStopped () const noexcept=0 |
Internal data structure to SchedulerImpl.
Definition at line 432 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 441 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 434 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 423 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 516 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 512 of file scheduler.cpp.
|
inlineoverridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 475 of file scheduler.hpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 520 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 528 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 524 of file scheduler.cpp.
|
overridevirtualnoexcept |
Implements daq::dpm::DaqController.
Definition at line 508 of file scheduler.cpp.
|
overridevirtual |
Implements daq::dpm::DaqController.
Definition at line 549 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 499 of file scheduler.cpp.
|
overridevirtual |
Implements daq::dpm::DaqController.
Definition at line 504 of file scheduler.cpp.