RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
mockCorrelatorIf.hpp
Go to the documentation of this file.
1
12#ifndef RTCTK_TELSUB_MOCKCORRELATORIF_HPP
13#define RTCTK_TELSUB_MOCKCORRELATORIF_HPP
14#include <gmock/gmock.h>
16
17namespace rtctk::telSub {
20 std::optional<CorrelationError>(std::chrono::milliseconds,
21 const DataSamplesView*&));
24 MOCK_CONST_METHOD0(GetLastSampleId, std::optional<std::uint32_t>());
25};
26
27} // namespace rtctk::telSub
28#endif // #ifndef RTCTK_TELSUB_MOCKCORRELATORIF_HPP
Interface for correlator implemementations that takes new data samples from DDS and performs correlat...
Definition correlatorIf.hpp:60
virtual std::optional< std::uint32_t > GetLastSampleId() const RTCTK_NOEXCEPT=0
virtual void CheckDdsConnections()=0
virtual std::optional< CorrelationError > Poll(std::chrono::milliseconds timeout, const DataSamplesView *&view) RTCTK_NOEXCEPT=0
Perform correlation on existing or newly taken data samples.
virtual void Reset() RTCTK_NOEXCEPT=0
Resets internal state.
Declares CorrelatorIf.
Definition main.cpp:24
A set of correlated agnostic non-owning data samples references.
Definition dataSampleView.hpp:52
Definition mockCorrelatorIf.hpp:18
MOCK_CONST_METHOD0(GetLastSampleId, std::optional< std::uint32_t >())
MOCK_METHOD0(CheckDdsConnections, void())
MOCK_METHOD2(Poll, std::optional< CorrelationError >(std::chrono::milliseconds, const DataSamplesView *&))