ifw-rtmstools 4.0.0
 
Loading...
Searching...
No Matches
ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway Class Reference

Rtms2DdtGateway class. More...

#include <rtms2DdtGateway.hpp>

Inheritance diagram for ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway:

Public Member Functions

 Rtms2DdtGateway (const std::string &receiver_ip, const std::string &interface_name, const int port, const ifw::fnd::datatype::DataType data_type, const int width, const int height, const std::string &ddt_broker_uri, const std::string &ddt_stream, const double ddt_interval, const uint16_t mtu_size, const int32_t topic_id, ifw::rtmslib::ExtendedInfoMode ext_info_mode, std::string log_file=ifw::rtmslib::RTMSLIB_LOG_PROPS, std::string log_level="ERROR")
 
 ~Rtms2DdtGateway ()
 
virtual void HandleSampleUser (ifw::rtmslib::SampleExtInfo &ext_info, std::vector< uint8_t > &sample_payload)
 
ifw::rtmstools::llnetio::ReceiverToolStats GetStatistics () const
 
void StopReceiving ()
 

Detailed Description

Rtms2DdtGateway class.

This class is used to receive RTMS packages and assembly back the image when the last packet is received. If any packet is lost, the complete frame will be discarded. It uses BOOST asio library for handling the UDP networking.

Constructor & Destructor Documentation

◆ Rtms2DdtGateway()

ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway::Rtms2DdtGateway ( const std::string & receiver_ip,
const std::string & interface_name,
const int port,
const ifw::fnd::datatype::DataType data_type,
const int width,
const int height,
const std::string & ddt_broker_uri,
const std::string & ddt_stream,
const double ddt_interval,
const uint16_t mtu_size,
const int32_t topic_id,
ifw::rtmslib::ExtendedInfoMode ext_info_mode,
std::string log_file = ifw::rtmslib::RTMSLIB_LOG_PROPS,
std::string log_level = "ERROR" )

◆ ~Rtms2DdtGateway()

ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway::~Rtms2DdtGateway ( )

Member Function Documentation

◆ GetStatistics()

ifw::rtmstools::llnetio::ReceiverToolStats ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway::GetStatistics ( ) const

◆ HandleSampleUser()

void ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway::HandleSampleUser ( ifw::rtmslib::SampleExtInfo & ext_info,
std::vector< uint8_t > & sample_payload )
virtual

◆ StopReceiving()

void ifw::rtmstools::rtms2ddtlib_llnetio::Rtms2DdtGateway::StopReceiving ( )
inline

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