Template Class ToHost
Defined in File tohost.hpp
Class Documentation
-
template<class CFG, class DEV, class BUF>
class ToHost Core of felix-tohost and felix-file2host.
Public Functions
-
inline explicit ToHost(std::unique_ptr<CFG> config)
ToHost constructor: scalable readout of multiple devices and DMA buffers.
This constructor initialises the object; it does not start reading operations.
- Parameters:
config -- configuration parameters.
-
void start()
Open devices, allocate buffers, create publishers and start reading data.
-
void print_monitoring()
retrieve and write monitoring information. To be executed by the thread that creates an instance of this class.
-
void stop()
Stop reading all associated DMA buffers.
-
inline explicit ToHost(std::unique_ptr<CFG> config)