Template Class FromHost

Class Documentation

template<class C, class D, class B>
class FromHost

Class at the core of felix-toflx and felix-file2flx. Templeted over Config, Device and ToHostBuffer classes.

Public Functions

inline explicit FromHost(std::unique_ptr<C> config)
void start()

allocate all resources and start thread(s).

void stop()

stop transfers, join all created threads.

void print_monitoring()

print monitoring information in FIFO.

Public Members

std::unique_ptr<C> cfg
std::list<std::shared_ptr<D>> devices
std::map<int, std::shared_ptr<B>> dma_buffers