MythTV  master
Public Member Functions | Static Public Member Functions | List of all members
DTMFDescriptor Class Reference

#include <splicedescriptors.h>

Inheritance diagram for DTMFDescriptor:
Inheritance graph
[legend]
Collaboration diagram for DTMFDescriptor:
Collaboration graph
[legend]

Public Member Functions

 DTMFDescriptor (const unsigned char *data, int len=300)
 
uint Preroll (void) const
 
uint DTMFCount (void) const
 
char DTMFChar (uint i) const
 
QString DTMFString (void) const
 
QString toString (void) const override
 
- Public Member Functions inherited from SpliceDescriptor
 operator const unsigned char * (void) const
 
 SpliceDescriptor (const unsigned char *data, int len)
 
 SpliceDescriptor (const unsigned char *data, int len, uint tag)
 
virtual ~SpliceDescriptor (void)=default
 
bool IsValid (void) const
 
uint size (void) const
 
uint DescriptorTag (void) const
 
QString DescriptorTagString (void) const
 
uint DescriptorLength (void) const
 
uint Identifier (void) const
 
QString IdentifierString (void) const
 
virtual QString toStringXML (uint indent_level) const
 Returns XML representation of string the TS Reader XML format. More...
 

Static Public Member Functions

static bool IsParsible (const unsigned char *data, uint safe_bytes)
 
- Static Public Member Functions inherited from SpliceDescriptor
static desc_list_t Parse (const unsigned char *data, uint len)
 
static desc_list_t ParseAndExclude (const unsigned char *data, uint len, int excluded_descid)
 
static desc_list_t ParseOnlyInclude (const unsigned char *data, uint len, int excluded_descid)
 
static const unsigned char * Find (const desc_list_t &parsed, uint desc_tag)
 
static desc_list_t FindAll (const desc_list_t &parsed, uint desc_tag)
 

Additional Inherited Members

- Protected Member Functions inherited from SpliceDescriptor
virtual bool Parse (void)
 
- Protected Attributes inherited from SpliceDescriptor
const unsigned char * m_data {nullptr}
 

Detailed Description

Definition at line 125 of file splicedescriptors.h.

Constructor & Destructor Documentation

◆ DTMFDescriptor()

DTMFDescriptor::DTMFDescriptor ( const unsigned char *  data,
int  len = 300 
)
inlineexplicit

Definition at line 128 of file splicedescriptors.h.

Member Function Documentation

◆ Preroll()

uint DTMFDescriptor::Preroll ( void  ) const
inline

Definition at line 136 of file splicedescriptors.h.

◆ DTMFCount()

uint DTMFDescriptor::DTMFCount ( void  ) const
inline

Definition at line 138 of file splicedescriptors.h.

Referenced by DTMFString().

◆ DTMFChar()

char DTMFDescriptor::DTMFChar ( uint  i) const
inline

Definition at line 142 of file splicedescriptors.h.

◆ DTMFString()

QString DTMFDescriptor::DTMFString ( void  ) const
inline

Definition at line 143 of file splicedescriptors.h.

Referenced by toString().

◆ IsParsible()

bool DTMFDescriptor::IsParsible ( const unsigned char *  data,
uint  safe_bytes 
)
static

Definition at line 189 of file splicedescriptors.cpp.

◆ toString()

QString DTMFDescriptor::toString ( void  ) const
inlineoverridevirtual

Reimplemented from SpliceDescriptor.

Definition at line 151 of file splicedescriptors.h.


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