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

#include <HLSSegment.h>

Public Member Functions

 HLSRecSegment (void)
 
 HLSRecSegment (const HLSRecSegment &rhs)
 
 HLSRecSegment (int seq, std::chrono::seconds duration, QString title, QUrl uri)
 
 HLSRecSegment (int seq, std::chrono::seconds 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
 
std::chrono::seconds Duration (void) const
 
QString toString (void) const
 

Protected Attributes

int64_t m_sequence {0}
 
std::chrono::seconds m_duration {0s}
 
uint64_t m_bitrate {0}
 
QString m_title
 
QUrl m_url
 

Friends

class HLSReader
 

Detailed Description

Definition at line 11 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,
std::chrono::seconds  duration,
QString  title,
QUrl  uri 
)

Definition at line 21 of file HLSSegment.cpp.

◆ HLSRecSegment() [4/4]

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

◆ ~HLSRecSegment()

HLSRecSegment::~HLSRecSegment ( )

Definition at line 60 of file HLSSegment.cpp.

Member Function Documentation

◆ operator=()

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

Definition at line 44 of file HLSSegment.cpp.

Referenced by HLSRecSegment().

◆ Download()

bool HLSRecSegment::Download ( QByteArray &  buffer)

◆ Sequence()

int64_t HLSRecSegment::Sequence ( void  ) const
inline

Definition at line 28 of file HLSSegment.h.

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

◆ Title()

QString HLSRecSegment::Title ( void  ) const
inline

Definition at line 29 of file HLSSegment.h.

◆ Url()

QUrl HLSRecSegment::Url ( void  ) const
inline

Definition at line 30 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ Duration()

std::chrono::seconds HLSRecSegment::Duration ( void  ) const
inline

Definition at line 31 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ toString()

QString HLSRecSegment::toString ( void  ) const

Definition at line 65 of file HLSSegment.cpp.

Friends And Related Function Documentation

◆ HLSReader

friend class HLSReader
friend

Definition at line 14 of file HLSSegment.h.

Member Data Documentation

◆ m_sequence

int64_t HLSRecSegment::m_sequence {0}
protected

Definition at line 44 of file HLSSegment.h.

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

◆ m_duration

std::chrono::seconds HLSRecSegment::m_duration {0s}
protected

Definition at line 45 of file HLSSegment.h.

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

◆ m_bitrate

uint64_t HLSRecSegment::m_bitrate {0}
protected

Definition at line 46 of file HLSSegment.h.

Referenced by operator=().

◆ m_title

QString HLSRecSegment::m_title
protected

Definition at line 47 of file HLSSegment.h.

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

◆ m_url

QUrl HLSRecSegment::m_url
protected

Definition at line 50 of file HLSSegment.h.

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


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