Go to the documentation of this file.
12 #ifndef RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSOR_HPP_
13 #define RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSOR_HPP_
16 #include <boost/asio.hpp>
42 uint32_t m_statistic_msg_update_rate;
43 uint32_t m_statistic_msg_counter = 0;
45 bool m_in_synch =
true;
53 rtctk::componentFramework::AgnosticTopic* m_dds_topic;
62 perfc::CounterI64 m_pc_recvd;
63 perfc::ScopedRegistration m_pc_recvd_reg;
64 perfc::CounterI64 m_pc_frame_errors;
65 perfc::ScopedRegistration m_pc_frame_errors_reg;
66 perfc::CounterI64 m_pc_sample_errors;
67 perfc::ScopedRegistration m_pc_sample_errors_reg;
68 perfc::CounterDouble m_pc_frequency_estimate;
69 perfc::ScopedRegistration m_pc_frequency_estimate_reg;
83 std::chrono::steady_clock::time_point m_start_time;
84 std::chrono::steady_clock::time_point m_now_time;
85 std::chrono::duration<double, std::ratio<1>> m_elapsed_time;
96 log4cplus::Logger m_logger;
109 uint32_t statistic_msg_update_rate = 60);
136 #endif // RTCTK_REUSABLECOMPONENT_TELREPUB_MUDPIPROCESSOR_HPP_
virtual ~MudpiProcessor()
Definition: mudpiProcessor.cpp:104
MudpiProcessor & operator=(MudpiProcessor const &rhs)=delete
DDS agnostic topic publioshing thread.
Header file for ComponentMetricsIf.
Definition: ddsPubThread.hpp:26
unsigned short uint16_t
Definition: mudpi.h:15
double timestamp_t
Definition: mudpi.h:18
Component metrics interface.
Definition: componentMetricsIf.hpp:177
MudpiProcessor(MudpiProcessor const &rhs)=delete
Copy construction.
void Statistics()
Dump statistics.
Definition: mudpiProcessor.cpp:321
Processing MUDPI data received by UDP receiver: rtctk::telRepub::UdpReceiver.
Definition: mudpiProcessor.hpp:38
uint32_t const MAX_TOPIC_SIZE
Definition: mudpiProcessor.hpp:28
unsigned int uint32_t
Definition: mudpi.h:16
std::error_code ProcessMudpi(mudpi::mudpiHeader *packet)
Here the actual processing is done (frame by frame (MUDPI datagram)).
Definition: mudpiProcessor.cpp:110
MUDPI processor error codes.
MudpiProcessor(mudpi::uint16_t mudpi_topic_id, PubThreadBase<> &pub, componentFramework::ComponentMetricsIf &metrics, uint32_t statistic_msg_update_rate=60)
MUDPI Processor constructor.
Definition: mudpiProcessor.cpp:23
DDS publisher thread class that provides queue with aggregated topic to be published by DDS.
Definition: ddsPubThread.hpp:36