24 #include "cheetah/rcpt/UdpStream.h" 25 #include "cheetah/rcpt/BeamFormerPacket.h" 26 #include "panda/Log.h" 35 template<
typename Producer>
36 UdpStreamTmpl<Producer>::UdpStreamTmpl(Config
const& config)
38 : BaseT(config.engine(), ConnectionTraits::SocketType(config.engine(), config.remote_end_point()))
39 , _n_channels(config.number_of_channels())
40 , _n_samples(config.samples_per_chunk())
44 template<
typename Producer>
45 UdpStreamTmpl<Producer>::~UdpStreamTmpl()
49 template<
typename Producer>
56 template<
typename Producer>
57 template<
typename DataType>
60 auto chunk = BaseT::template get_chunk<DataType>();
61 PANDA_LOG_DEBUG <<
"creating new chunk (" << chunk.get() <<
")";
63 chunk->resize( data::DimensionSize<data::Time>(_n_samples)
64 , data::DimensionSize<data::Frequency>(_n_channels));
Some limits and constants for FLDO.
The UDP stream from the BeamFormer.
void init()
post construction initialisation (called by Producer)