RTC Toolkit 5.1.0
Loading...
Searching...
No Matches
Functions
main.cpp File Reference

RTC toolkit MUDPI publisher test component main. More...

#include <rtctk/componentFramework/patternGeneration.hpp>
#include <rtctk/componentFramework/rtcComponentMain.hpp>
#include <rtctk/mudpiPub/businessLogic.hpp>

Functions

template<typename T , size_t S = 100>
std::vector< std::vector< uint8_t > > GenerateSamples (uint32_t num_samples)
 
std::map< std::string, std::vector< std::vector< uint8_t > > > GetTopicData (const std::string &arg)
 
void RtcComponentMain (const Args &args)
 Main entry point for user code, this method must be implemented by component developers.
 

Detailed Description

RTC toolkit MUDPI publisher test component main.

Function Documentation

◆ GenerateSamples()

template<typename T , size_t S = 100>
std::vector< std::vector< uint8_t > > GenerateSamples ( uint32_t num_samples)

◆ GetTopicData()

std::map< std::string, std::vector< std::vector< uint8_t > > > GetTopicData ( const std::string & arg)

◆ RtcComponentMain()

void RtcComponentMain ( const rtctk::componentFramework::Args & args)

Main entry point for user code, this method must be implemented by component developers.

Parameters
argsopaque arguments class to be passed on to the RTC Component runner function.
Exceptions
variousexceptions, which are caught in main