TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::mcast::FluteAnalyzer Class Reference

#include <tsmcastFluteAnalyzer.h>

Inheritance diagram for ts::mcast::FluteAnalyzer:
Collaboration diagram for ts::mcast::FluteAnalyzer:

Public Member Functions

 FluteAnalyzer (DuckContext &duck)
template<class Rep, class Period>
void feedPacket (const cn::duration< Rep, Period > &timestamp, const IPPacket &pkt)
template<class Rep, class Period>
void feedPacket (const cn::duration< Rep, Period > &timestamp, const IPSocketAddress &source, const IPSocketAddress &destination, const uint8_t *udp, size_t udp_size)
void printSummary (std::ostream &out=std::cout)
bool reset (const FluteAnalyzerArgs &args)

Detailed Description

FLUTE analyzer with extraction and reporting.

Constructor & Destructor Documentation

◆ FluteAnalyzer()

ts::mcast::FluteAnalyzer::FluteAnalyzer ( DuckContext & duck)

Constructor.

Parameters
[in,out]duckTSDuck execution context. A reference is kept in this object.

Member Function Documentation

◆ reset()

bool ts::mcast::FluteAnalyzer::reset ( const FluteAnalyzerArgs & args)

Reset the analysis.

Parameters
[in]argsAnalysis arguments.
Returns
True on success, false on error.

◆ feedPacket() [1/2]

template<class Rep, class Period>
void ts::mcast::FluteAnalyzer::feedPacket ( const cn::duration< Rep, Period > & timestamp,
const IPPacket & pkt )
inline

The following method feeds the analyzer with an IP packet. The packet is ignored if this is not a UDP packet.

Parameters
[in]timestampPacket time stamp value. This value should be taken from a monotonic clock.
[in]pktAn IP packet.

◆ feedPacket() [2/2]

template<class Rep, class Period>
void ts::mcast::FluteAnalyzer::feedPacket ( const cn::duration< Rep, Period > & timestamp,
const IPSocketAddress & source,
const IPSocketAddress & destination,
const uint8_t * udp,
size_t udp_size )
inline

The following method feeds the analyzer with a UDP packet.

Parameters
[in]timestampPacket time stamp value. This value should be taken from a monotonic clock.
[in]sourceSource socket address.
[in]destinationDestination socket address.
[in]udpAddress of UDP payload.
[in]udp_sizeSize in bytes of UDP payload.

◆ printSummary()

void ts::mcast::FluteAnalyzer::printSummary ( std::ostream & out = std::cout)

Print a summary of the FLUTE session. Print nothing of option summary was not specified.

Parameters
[in,out]outWhere to print the summary if no output file was specified in FluteAnalyzerArgs. Ignored when an output file was specified.

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