ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Interface to DPM server. More...
#include <dpmClient.hpp>
Public Types | |
using | StorageSignal = boost::signals2::signal< void(std::filesystem::space_info)> |
using | StatusSignal = boost::signals2::signal< void(Status)> |
Public Member Functions | |
virtual auto | ScheduleAsync (std::string const &spec) -> boost::future< State >=0 |
Schedule merging. More... | |
virtual auto | AbortAsync (std::string const &id) -> boost::future< State >=0 |
Abort merging. More... | |
virtual auto | ConnectStatusSignal (StatusSignal::slot_type const &slot) -> boost::signals2::connection=0 |
Connect slot to status change signal. More... | |
virtual auto | ConnectStorageSignal (StorageSignal::slot_type const &slot) -> boost::signals2::connection=0 |
Connect slot to storage change signal. More... | |
Interface to DPM server.
Any implementation is expected to also provide a subscriber for DPM status and storage change signals.
Definition at line 38 of file dpmClient.hpp.
using daq::DpmClient::StatusSignal = boost::signals2::signal<void(Status)> |
Definition at line 41 of file dpmClient.hpp.
using daq::DpmClient::StorageSignal = boost::signals2::signal<void(std::filesystem::space_info)> |
Definition at line 40 of file dpmClient.hpp.
|
pure virtual |
Abort merging.
Implemented in daq::DpmClientImpl.
|
pure virtual |
Connect slot to status change signal.
DpmClient ensures that signals are only emitted from main thread.
Implemented in daq::DpmClientMock, and daq::DpmClientImpl.
|
pure virtual |
Connect slot to storage change signal.
DpmClient ensures that signals are only emitted from main thread.
Implemented in daq::DpmClientMock, and daq::DpmClientImpl.
|
pure virtual |
Schedule merging.
Implemented in daq::DpmClientImpl.