30 std::weak_ptr<StreamMgr>
_mgr;
35 std::atomic<bool> stopCalled{
false};
73 const std::thread::id main_thread_id;
Data coming from / going to DAQ. Non-interleaved format, which means data in buffer is ordered by cha...
Base cass for all DAQ (Data Acquisition) interfaces. A DAQ can be a custom device,...
std::weak_ptr< StreamMgr > _mgr
void start()
Adds the current InDataHandler to the list of handlers in the StreamMgr. After this happens,...
const InCallbackType inCallback
void checkRightThread() const
void stop()
Removes the currend InDataHandler from the list of handlers in the StreamMgr. From that point on,...
Stream manager. Used to manage the input and output streams. Implemented as a singleton: only one str...
std::function< void(const Daq *)> InResetType
Function definition for the reset callback.
std::function< void(const DaqData &)> InCallbackType
The function definition of callbacks with incoming DAQ data.
std::shared_ptr< StreamMgr > SmgrHandle