9 #ifndef OCM_DAQ_TEST_MOCK_RECIF_ASYNC_MOCK_HPP
10 #define OCM_DAQ_TEST_MOCK_RECIF_ASYNC_MOCK_HPP
13 #include <gmock/gmock.h>
19 ::elt::mal::future<std::shared_ptr<::recif::RecStatus>>(
20 const std::shared_ptr<::recif::RecProperties>&));
22 ::elt::mal::future<std::shared_ptr<::recif::RecStatus>>());
24 ::elt::mal::future<std::shared_ptr<::recif::RecStatus>>());
27 ::elt::mal::future<std::shared_ptr<::recif::RecStatus>>());
29 ::elt::mal::future<std::shared_ptr<::recif::RecStatus>>(
const std::string&));
31 ::elt::mal::future<std::shared_ptr<::recif::RecWaitStatus>>(
32 const std::shared_ptr<recif::RecWaitSpec>&));
38 registerConnectionListener,
39 elt::mal::rr::ListenerRegistration(elt::mal::rr::ClientRrEntity::ConnectionListener));
81 std::unique_ptr<recif::RecStatus>
clone()
const override {
84 std::unique_ptr<recif::RecStatus>
cloneKey()
const override {
90 bool keyEquals(
const recif::RecStatus& other)
const override {
MOCK_METHOD1(RecStart, ::elt::mal::future< std::shared_ptr<::recif::RecStatus >>(const std::shared_ptr<::recif::RecProperties > &))
MOCK_METHOD1(registerConnectionListener, elt::mal::rr::ListenerRegistration(elt::mal::rr::ClientRrEntity::ConnectionListener))
MOCK_METHOD1(RecStatus, ::elt::mal::future< std::shared_ptr<::recif::RecStatus >>(const std::string &))
MOCK_METHOD0(RecAbort, ::elt::mal::future< std::string >())
MOCK_METHOD0(RecStop, ::elt::mal::future< std::shared_ptr<::recif::RecStatus >>())
MOCK_METHOD1(RecWait, ::elt::mal::future< std::shared_ptr<::recif::RecWaitStatus >>(const std::shared_ptr< recif::RecWaitSpec > &))
MOCK_METHOD0(asyncConnect, ::elt::mal::future< void >())
MOCK_METHOD0(RecPause, ::elt::mal::future< std::shared_ptr<::recif::RecStatus >>())
MOCK_CONST_METHOD0(getMal, std::shared_ptr<::elt::mal::Mal >())
MOCK_METHOD0(RecContinue, ::elt::mal::future< std::shared_ptr<::recif::RecStatus >>())
MOCK_CONST_METHOD0(getTimeElapsed, double())
MOCK_CONST_METHOD0(getFilesGenerated, int32_t())
bool hasKey() const override
bool keyEquals(const recif::RecStatus &other) const override
MOCK_CONST_METHOD0(getDpFiles, std::vector< std::string >())
MOCK_METHOD1(setSizeRecorded, void(int32_t size_recorded))
MOCK_METHOD1(setFramesRemaining, void(int32_t frames_remaining))
MOCK_METHOD1(setEndTime, void(double end_time))
MOCK_CONST_METHOD0(getStatus, ::recif::RecStatusNames())
std::unique_ptr< recif::RecStatus > cloneKey() const override
MOCK_CONST_METHOD0(getId, std::string())
MOCK_METHOD1(setTimeElapsed, void(double time_elapsed))
MOCK_METHOD1(setStatus, void(::recif::RecStatusNames status))
MOCK_CONST_METHOD0(getEndTime, double())
MOCK_CONST_METHOD0(getInfo, std::string())
MOCK_METHOD1(setFilesGenerated, void(int32_t files_generated))
MOCK_CONST_METHOD0(getFramesProcessed, int32_t())
std::unique_ptr< recif::RecStatus > clone() const override
MOCK_CONST_METHOD0(getSizeRecorded, int32_t())
MOCK_CONST_METHOD0(getFramesRemaining, int32_t())
MOCK_METHOD1(setDpFiles, void(const std::vector< std::string > &))
MOCK_CONST_METHOD0(getRemainingTime, double())
MOCK_METHOD1(setRemainingTime, void(double remaining_time))
MOCK_CONST_METHOD0(getStartTime, double())
MOCK_METHOD1(setInfo, void(std::string const &))
MOCK_METHOD1(setId, void(const std::string &))
MOCK_METHOD1(setFramesProcessed, void(int32_t frames_recorded))
MOCK_METHOD1(setStartTime, void(double start_time))