24 #include "cheetah/rcpt/BeamFormerDataTraits.h" 25 #include <panda/Log.h> 33 template<
typename ContextType>
44 unsigned offset = context.offset();
45 auto packet_it=packet.packet().begin() + context.packet_offset();
46 auto it=context.chunk().begin() + offset;
47 PANDA_LOG_DEBUG <<
" --- deserialise_packet: sequence_number=" << context.sequence_number(packet)
49 std::for_each(packet_it, packet_it + context.size(), [&](
Sample const& sample) { *it=sample.xx(); ++it; } );
53 template<
typename ContextType>
56 unsigned offset = context.offset();
57 auto it=context.chunk().begin() + offset;
58 PANDA_LOG_DEBUG <<
"processing missing packet: data=" << (
void*)&*it << context;
59 for(std::size_t i=0; i < context.size() ; ++i) {
61 assert(it!=context.chunk().end());
66 template<
typename ResizeContextType>
69 PANDA_LOG_DEBUG <<
"resizing data: " << context;
71 context.chunk().resize(data::DimensionSize<data::Time>(context.size()/context.chunk().number_of_channels()));
Some limits and constants for FLDO.
THe incoming RF signal sample from the UDP stream.