Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Public Types | Public Member Functions | List of all members
ska::cheetah::rcpt_low::PacketGenerator< DataGenerator > Class Template Reference

Packs data into a UDP stream Packet Header format of the BeamFormer. More...

#include <cheetah/rcpt_low/PacketGenerator.h>

Collaboration diagram for ska::cheetah::rcpt_low::PacketGenerator< DataGenerator >:
Collaboration graph

Public Types

typedef int8_t SampleDataType
 
typedef PacketSample< SampleDataType > Sample
 
typedef data::TimeFrequency< Cpu, SampleDataType > DataType
 
typedef boost::units::quantity< ska::cheetah::data::Seconds, double > TimeType
 
typedef boost::units::quantity< ska::cheetah::data::MegaHertz, double > FrequencyType
 

Public Member Functions

 PacketGenerator (DataGenerator &model, PacketGeneratorConfig const &config)
 
template<typename Handler >
void send_one (Handler &&)
 send out a single packet More...
 
ska::panda::Buffer< char > next ()
 
std::chrono::microseconds interval () const
 The interval between packets in microsec.
 
void abort ()
 

Detailed Description

template<class DataGenerator>
class ska::cheetah::rcpt_low::PacketGenerator< DataGenerator >

Packs data into a UDP stream Packet Header format of the BeamFormer.

Definition at line 47 of file PacketGenerator.h.

Member Function Documentation

◆ send_one()

template<class DataGenerator >
template<typename Handler >
void ska::cheetah::rcpt_low::PacketGenerator< DataGenerator >::send_one ( Handler &&  )

send out a single packet

Parameters
handlerthe handler to call when the packet has been sent

The documentation for this class was generated from the following files: