TSDuck v3.46-4964
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::tr101290::ErrorHandlerInterface Class Referenceabstract

#include <tstr101290ErrorHandlerInterface.h>

Public Member Functions

virtual void handleTR101290Error (Analyzer &analyzer, ErrorCounter error, const UString &reference, const UString &context, PID pid)=0

Detailed Description

Abstract interface to receive ETSI TR 101 290 errors.

This abstract interface must be implemented by classes which need to be notified of errors from a ts::tr101290::Analyzer.

Member Function Documentation

◆ handleTR101290Error()

virtual void ts::tr101290::ErrorHandlerInterface::handleTR101290Error ( Analyzer & analyzer,
ErrorCounter error,
const UString & reference,
const UString & context,
PID pid )
pure virtual

This hook is invoked when an error is detected.

Parameters
[in,out]analyzerThe analyzer instance which detected the error.
[in]errorThe error code as an enum value. Use ts::tr101290::GetCounterDescription() if more details are needed.
[in]referenceA reference string which indicates the rule which triggered the error.
[in]contextThe context of the error, for instance a table name or PID number.
[in]pidThe PID on which the error occurred, PID_NULL if not PID is relevant.
See also
ts::tr101290::GetCounterDescription()

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