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

Implementation of RtcComponentMain. More...

#include <gsl/span>
#include <iterator>
#include <rtctk/componentFramework/rtcComponentMain.hpp>
#include <rtctk/telRepub/telRepubBusinessLogic.hpp>
#include <rtctk/telRepub/wrangler.hpp>
#include <system_error>

Functions

std::error_code ExampleWranglerCopy (const gsl::span< const gsl::span< const uint8_t > > input, std::vector< uint8_t > &output)
 
void RtcComponentMain (const Args &args)
 Main entry point for user code, this method must be implemented by component developers.
 

Detailed Description

Implementation of RtcComponentMain.

Function Documentation

◆ ExampleWranglerCopy()

std::error_code ExampleWranglerCopy ( const gsl::span< const gsl::span< const uint8_t > > input,
std::vector< uint8_t > & output )

◆ RtcComponentMain()

void RtcComponentMain ( const 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

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

Parameters
[in]argsThe application's command line arguments.
Note
This is invoked by RTCTK Component Framework main() implementation.