ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::dpm::MockScheduler Struct Reference

#include <mockScheduler.hpp>

+ Inheritance diagram for daq::dpm::MockScheduler:

Public Member Functions

 MOCK_METHOD (void, Start,(),(override))
 
 MOCK_METHOD (void, Stop,(),(override))
 
 MOCK_METHOD (std::string, QueueDaq,(std::string const &),(override))
 
 MOCK_METHOD (void, AbortDaq,(std::string const &),(override))
 
 MOCK_METHOD (bool, IsQueued,(std::string const &),(const, noexcept, override))
 
 MOCK_METHOD (Status, GetDaqStatus,(std::string const &),(const, override))
 
 MOCK_METHOD (std::vector< std::string >, GetQueue,(),(const, noexcept, override))
 
 MOCK_METHOD (boost::signals2::connection, ConnectStatus,(StatusSignal::slot_type const &slot),(override))
 
- Public Member Functions inherited from daq::dpm::Scheduler
virtual ~Scheduler ()
 
virtual void Start ()=0
 Start/stop operations. More...
 
virtual void Stop ()=0
 
virtual std::string QueueDaq (std::string const &dp_spec)=0
 Queues DAQ for processing. More...
 
virtual void AbortDaq (std::string const &id)=0
 Abort merging DAQ identified by id. More...
 
virtual bool IsQueued (std::string const &id) const noexcept=0
 Queries if DAQ with ID has been queued before in the current workspace. More...
 
virtual Status GetDaqStatus (std::string const &id) const =0
 Queries current DAQ status, possibly from last recorded status in workspace. More...
 
virtual std::vector< std::string > GetQueue () const noexcept=0
 Queries current DAQ queue. More...
 
virtual boost::signals2::connection ConnectStatus (StatusSignal::slot_type const &slot)=0
 Signals. More...
 

Additional Inherited Members

- Public Types inherited from daq::dpm::Scheduler
using StatusSignal = boost::signals2::signal< void(Status const &)>
 Signals. More...
 

Detailed Description

Definition at line 19 of file mockScheduler.hpp.

Member Function Documentation

◆ MOCK_METHOD() [1/8]

daq::dpm::MockScheduler::MOCK_METHOD ( bool  ,
IsQueued  ,
(std::string const &)  ,
(const, noexcept, override)   
)

◆ MOCK_METHOD() [2/8]

daq::dpm::MockScheduler::MOCK_METHOD ( boost::signals2::connection  ,
ConnectStatus  ,
(StatusSignal::slot_type const &slot)  ,
(override)   
)

◆ MOCK_METHOD() [3/8]

daq::dpm::MockScheduler::MOCK_METHOD ( Status  ,
GetDaqStatus  ,
(std::string const &)  ,
(const, override)   
)

◆ MOCK_METHOD() [4/8]

daq::dpm::MockScheduler::MOCK_METHOD ( std::string  ,
QueueDaq  ,
(std::string const &)  ,
(override)   
)

◆ MOCK_METHOD() [5/8]

daq::dpm::MockScheduler::MOCK_METHOD ( std::vector< std::string >  ,
GetQueue  ,
()  ,
(const, noexcept, override)   
)

◆ MOCK_METHOD() [6/8]

daq::dpm::MockScheduler::MOCK_METHOD ( void  ,
AbortDaq  ,
(std::string const &)  ,
(override)   
)

◆ MOCK_METHOD() [7/8]

daq::dpm::MockScheduler::MOCK_METHOD ( void  ,
Start  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [8/8]

daq::dpm::MockScheduler::MOCK_METHOD ( void  ,
Stop  ,
()  ,
(override)   
)

The documentation for this struct was generated from the following file: