ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Combined mock and fake of interface to DPM server. More...
#include <dpmClientMock.hpp>
Public Member Functions | |
MOCK_METHOD (boost::future< State >, ScheduleAsync,(std::string const &spec),(override)) | |
Schedule merging. More... | |
MOCK_METHOD (boost::future< State >, AbortAsync,(std::string const &id),(override)) | |
Abort merging. More... | |
auto | ConnectStatusSignal (StatusSignal::slot_type const &slot) -> boost::signals2::connection override |
Connect slot to status change signal. More... | |
auto | ConnectStorageSignal (StorageSignal::slot_type const &slot) -> boost::signals2::connection override |
Connect slot to storage change signal. More... | |
Public Member Functions inherited from daq::DpmClient | |
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... | |
Public Attributes | |
StatusSignal | status_signal |
StorageSignal | storage_signal |
Additional Inherited Members | |
Public Types inherited from daq::DpmClient | |
using | StorageSignal = boost::signals2::signal< void(std::filesystem::space_info)> |
using | StatusSignal = boost::signals2::signal< void(Status)> |
Combined mock and fake of interface to DPM server.
Definition at line 19 of file dpmClientMock.hpp.
|
inlineoverridevirtual |
Connect slot to status change signal.
DpmClient ensures that signals are only emitted from main thread.
Implements daq::DpmClient.
Definition at line 34 of file dpmClientMock.hpp.
|
inlineoverridevirtual |
Connect slot to storage change signal.
DpmClient ensures that signals are only emitted from main thread.
Implements daq::DpmClient.
Definition at line 39 of file dpmClientMock.hpp.
daq::DpmClientMock::MOCK_METHOD | ( | boost::future< State > | , |
AbortAsync | , | ||
(std::string const &id) | , | ||
(override) | |||
) |
Abort merging.
daq::DpmClientMock::MOCK_METHOD | ( | boost::future< State > | , |
ScheduleAsync | , | ||
(std::string const &spec) | , | ||
(override) | |||
) |
Schedule merging.
StatusSignal daq::DpmClientMock::status_signal |
Definition at line 43 of file dpmClientMock.hpp.
StorageSignal daq::DpmClientMock::storage_signal |
Definition at line 44 of file dpmClientMock.hpp.