|
| | MOCK_CONST_METHOD2 (HaveDaq, bool(std::string_view, std::string_view)) |
| |
| | MOCK_CONST_METHOD1 (MakeDaqId, std::string(std::chrono::system_clock::time_point *)) |
| |
| | MOCK_CONST_METHOD1 (GetStatus, daq::Status(std::string_view)) |
| |
| | MOCK_METHOD1 (StartDaqAsync, boost::future< daq::State >(daq::DaqContext)) |
| |
| | MOCK_METHOD2 (StopDaqAsync, boost::future< daq::Status >(std::string_view, daq::ErrorPolicy)) |
| |
| | MOCK_METHOD2 (AbortDaqAsync, boost::future< daq::Status >(std::string_view, daq::ErrorPolicy)) |
| |
| | MOCK_METHOD3 (AwaitDaqStateAsync, boost::future< daq::Result< daq::Status >>(std::string_view, daq::State, std::chrono::milliseconds)) |
| |
| | MOCK_METHOD2 (UpdateKeywords, void(std::string_view, daq::fits::KeywordVector const &)) |
| |
| | MOCK_METHOD0 (RestoreFromWorkspace, void()) |
| |
| | MOCK_METHOD0 (GetStatusSignal, daq::StatusSignal &()) |
| |
| | MOCK_METHOD0 (GetDaqControllers, std::vector< std::shared_ptr< daq::DaqController const >>()) |
| |
| virtual | ~Manager () |
| |
| virtual void | RestoreFromWorkspace ()=0 |
| | Restore from state stored in workspace. More...
|
| |
| virtual std::string | MakeDaqId (std::chrono::system_clock::time_point *time=nullptr) const =0 |
| | Creates a new unique identifier based on the instrument id and current time. More...
|
| |
| virtual bool | HaveDaq (std::string_view id, std::string_view file_id={}) const DAQ_NOEXCEPT=0 |
| | Query existing data acquisition by id and optional file_id. More...
|
| |
| virtual Status | GetStatus (std::string_view id) const =0 |
| | Get status. More...
|
| |
| virtual boost::future< State > | StartDaqAsync (DaqContext ctx)=0 |
| | Start DaqController identified by id. More...
|
| |
| virtual boost::future< Status > | StopDaqAsync (std::string_view id, ErrorPolicy policy)=0 |
| | Stop DaqController identified by id. More...
|
| |
| virtual boost::future< Status > | AbortDaqAsync (std::string_view id, ErrorPolicy policy)=0 |
| | Abort DaqController identified by id. More...
|
| |
| virtual boost::future< Result< Status > > | AwaitDaqStateAsync (std::string_view id, State state, std::chrono::milliseconds timeout)=0 |
| | Await DAQ state. More...
|
| |
| virtual void | UpdateKeywords (std::string_view id, fits::KeywordVector const &keywords)=0 |
| | Update FITS keywords for DaqController identified by id. More...
|
| |
| virtual StatusSignal & | GetStatusSignal ()=0 |
| |
| virtual std::vector< std::shared_ptr< DaqController const > > | GetDaqControllers ()=0 |
| |
Definition at line 9 of file managerMock.hpp.