24 #ifndef SKA_CHEETAH_EXPORTERS_SPCCLSPEADSTREAMER_H 25 #define SKA_CHEETAH_EXPORTERS_SPCCLSPEADSTREAMER_H 28 #include "SpCclSpeadStreamerConfig.h" 29 #include "detail/SpCclSpeadStreamTraits.h" 30 #include "cheetah/data/SpCcl.h" 31 #include <panda/ChannelId.h> 32 #include <panda/ConnectionTraits.h> 33 #include <panda/Connection.h> 34 #include <spead2/common_defines.h> 35 #include <spead2/common_flavour.h> 36 #include <spead2/send_heap.h> 37 #include <spead2/send_udp.h> 48 class SpCclSpeadStreamer :
public SpCclSpeadStreamTraits
50 typedef panda::ConnectionTraits<panda::Udp> ConnectionTraits;
53 SpCclSpeadStreamer(SpCclSpeadStreamerConfig
const&, panda::Engine&);
54 SpCclSpeadStreamer(SpCclSpeadStreamer
const&) =
delete;
55 ~SpCclSpeadStreamer();
57 template<
typename NumericalRep>
58 SpCclSpeadStreamer& operator<<(data::SpCcl<NumericalRep>
const&);
61 SpCclSpeadStreamerConfig
const& _config;
62 spead2::flavour _sp_flavour;
63 spead2::send::heap _sp_end;
64 spead2::send::udp_stream _sp_stream;
65 spead2::descriptor _tf_data_desc;
66 spead2::descriptor _ft_data_desc;
67 spead2::descriptor _data_start_time_desc;
68 spead2::descriptor _data_number_of_channels_desc;
69 spead2::descriptor _data_sammple_interval;
70 spead2::descriptor _data_channel_1;
71 spead2::descriptor _data_channel_width;
72 spead2::descriptor _candidate_start_time_desc;
73 spead2::descriptor _candidate_dm_desc;
74 spead2::descriptor _candidate_width_desc;
75 spead2::descriptor _candidate_sigma_desc;
76 spead2::descriptor _candidate_duration_desc;
83 #include "detail/SpCclSpeadStreamer.cpp" 84 #endif // ENABLE_SPEAD 86 #endif // SKA_CHEETAH_EXPORTERS_SPCCLSPEADSTREAMER_H Some limits and constants for FLDO.