RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rtctk::telRepub::MudpiProcessor Class Reference

Processing MUDPI data received by UDP receiver: rtctk::telRepub::UdpReceiver. More...

#include <mudpiProcessor.hpp>

Public Member Functions

 MudpiProcessor (QueuePtr queue, CfgMudpiProc &cfg, componentFramework::ServiceContainer &service)
 MUDPI Processor constructor.
 
uint16_t GetTopicId () const
 To query the topic id of the current mudpi processor object.
 
ErrorCode< MudpiProcessorErrorProcessMudpi (AgnosticTopic &topic, const WranglerFunction &wrangler)
 Here the actual processing is done (frame by frame (MUDPI datagram)).
 
void ResetCounters ()
 Reset the counters.
 
bool Monitor ()
 Monitoring MUDPI processor for different problems (alerts): like timeouts ....
 

Detailed Description

Processing MUDPI data received by UDP receiver: rtctk::telRepub::UdpReceiver.

Constructor & Destructor Documentation

◆ MudpiProcessor()

rtctk::telRepub::MudpiProcessor::MudpiProcessor ( QueuePtr queue,
CfgMudpiProc & cfg,
componentFramework::ServiceContainer & service )
explicit

MUDPI Processor constructor.

Parameters
queuePublisher thread queue.
cfgconfiguration
serviceReference to component Service.

Member Function Documentation

◆ GetTopicId()

uint16_t rtctk::telRepub::MudpiProcessor::GetTopicId ( ) const

To query the topic id of the current mudpi processor object.

◆ Monitor()

bool rtctk::telRepub::MudpiProcessor::Monitor ( )

Monitoring MUDPI processor for different problems (alerts): like timeouts ....

Returns
true if a problem
false if not a problem

◆ ProcessMudpi()

ErrorCode< MudpiProcessorError > rtctk::telRepub::MudpiProcessor::ProcessMudpi ( AgnosticTopic & topic,
const WranglerFunction & wrangler )

Here the actual processing is done (frame by frame (MUDPI datagram)).

Parameters
[out]topicThe DDS agnostic topic object to fill.
[in]wranglerFunction to perform optional data transformations of the MUDPI packet.
Returns
In case of an error: missing frame, sample, frame out of range ... returns an error code of type: rtctk::telRepub::MudpiProcessorError

◆ ResetCounters()

void rtctk::telRepub::MudpiProcessor::ResetCounters ( )

Reset the counters.


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