MythTV  master
Public Member Functions | Protected Attributes | Friends | List of all members
HLSRecSegment Class Reference

#include <HLSSegment.h>

Collaboration diagram for HLSRecSegment:
Collaboration graph
[legend]

Public Member Functions

 HLSRecSegment (void)
 
 HLSRecSegment (const HLSRecSegment &rhs)
 
 HLSRecSegment (int seq, int duration, QString title, QUrl uri)
 
 HLSRecSegment (int seq, int duration, QString title, QUrl uri, const QString &current_key_path)
 
 ~HLSRecSegment ()
 
HLSRecSegmentoperator= (const HLSRecSegment &rhs)
 
bool Download (QByteArray &buffer)
 
int64_t Sequence (void) const
 
QString Title (void) const
 
QUrl Url (void) const
 
int Duration (void) const
 
QString toString (void) const
 

Protected Attributes

int64_t m_sequence {0}
 
int m_duration {0}
 
uint64_t m_bitrate {0}
 
QString m_title
 
QUrl m_url
 

Friends

class HLSReader
 

Detailed Description

Definition at line 9 of file HLSSegment.h.

Constructor & Destructor Documentation

◆ HLSRecSegment() [1/4]

HLSRecSegment::HLSRecSegment ( void  )

Definition at line 10 of file HLSSegment.cpp.

◆ HLSRecSegment() [2/4]

HLSRecSegment::HLSRecSegment ( const HLSRecSegment rhs)

Definition at line 15 of file HLSSegment.cpp.

◆ HLSRecSegment() [3/4]

HLSRecSegment::HLSRecSegment ( int  seq,
int  duration,
QString  title,
QUrl  uri 
)

Definition at line 21 of file HLSSegment.cpp.

◆ HLSRecSegment() [4/4]

HLSRecSegment::HLSRecSegment ( int  seq,
int  duration,
QString  title,
QUrl  uri,
const QString &  current_key_path 
)

Definition at line 31 of file HLSSegment.cpp.

◆ ~HLSRecSegment()

HLSRecSegment::~HLSRecSegment ( void  )

Definition at line 62 of file HLSSegment.cpp.

Member Function Documentation

◆ operator=()

HLSRecSegment & HLSRecSegment::operator= ( const HLSRecSegment rhs)

Definition at line 46 of file HLSSegment.cpp.

Referenced by HLSRecSegment().

◆ Download()

bool HLSRecSegment::Download ( QByteArray &  buffer)

◆ Sequence()

int64_t HLSRecSegment::Sequence ( void  ) const
inline

Definition at line 26 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData(), and HLSReader::LoadSegments().

◆ Title()

QString HLSRecSegment::Title ( void  ) const
inline

Definition at line 27 of file HLSSegment.h.

◆ Url()

QUrl HLSRecSegment::Url ( void  ) const
inline

Definition at line 28 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ Duration()

int HLSRecSegment::Duration ( void  ) const
inline

Definition at line 29 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ toString()

QString HLSRecSegment::toString ( void  ) const

Definition at line 67 of file HLSSegment.cpp.

Friends And Related Function Documentation

◆ HLSReader

friend class HLSReader
friend

Definition at line 12 of file HLSSegment.h.

Member Data Documentation

◆ m_sequence

int64_t HLSRecSegment::m_sequence {0}
protected

Definition at line 42 of file HLSSegment.h.

Referenced by operator=(), Sequence(), and toString().

◆ m_duration

int HLSRecSegment::m_duration {0}
protected

Definition at line 43 of file HLSSegment.h.

Referenced by Duration(), operator=(), and toString().

◆ m_bitrate

uint64_t HLSRecSegment::m_bitrate {0}
protected

Definition at line 44 of file HLSSegment.h.

Referenced by operator=().

◆ m_title

QString HLSRecSegment::m_title
protected

Definition at line 45 of file HLSSegment.h.

Referenced by operator=(), Title(), and toString().

◆ m_url

QUrl HLSRecSegment::m_url
protected

Definition at line 48 of file HLSSegment.h.

Referenced by operator=(), toString(), and Url().


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