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

#include <libmythtv/recorders/HLS/HLSSegment.h>

Collaboration diagram for HLSRecSegment:
[legend]

Public Member Functions

 HLSRecSegment (int input)
 
 HLSRecSegment (const HLSRecSegment &rhs)
 
 HLSRecSegment (int input, int sequence, std::chrono::milliseconds duration, QString title, QUrl uri)
 
 ~HLSRecSegment ()
 
HLSRecSegmentoperator= (const HLSRecSegment &rhs)
 
bool Download (QByteArray &buffer)
 
int64_t Sequence (void) const
 
QString Title (void) const
 
QUrl Url (void) const
 
std::chrono::milliseconds Duration (void) const
 
QString toString (void) const
 

Protected Attributes

int m_inputId {0}
 
int64_t m_sequence {0}
 
std::chrono::milliseconds m_duration {0ms}
 
uint64_t m_bitrate {0}
 
QString m_title
 
QUrl m_url
 

Friends

class HLSReader
 

Detailed Description

Definition at line 16 of file HLSSegment.h.

Constructor & Destructor Documentation

◆ HLSRecSegment() [1/3]

HLSRecSegment::HLSRecSegment ( int  input)

Definition at line 13 of file HLSSegment.cpp.

◆ HLSRecSegment() [2/3]

HLSRecSegment::HLSRecSegment ( const HLSRecSegment rhs)

Definition at line 19 of file HLSSegment.cpp.

◆ HLSRecSegment() [3/3]

HLSRecSegment::HLSRecSegment ( int  input,
int  sequence,
std::chrono::milliseconds  duration,
QString  title,
QUrl  uri 
)

Definition at line 25 of file HLSSegment.cpp.

◆ ~HLSRecSegment()

HLSRecSegment::~HLSRecSegment ( )

Definition at line 56 of file HLSSegment.cpp.

Member Function Documentation

◆ operator=()

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

Definition at line 37 of file HLSSegment.cpp.

Referenced by HLSRecSegment().

◆ Download()

bool HLSRecSegment::Download ( QByteArray &  buffer)

◆ Sequence()

int64_t HLSRecSegment::Sequence ( void  ) const
inline

Definition at line 31 of file HLSSegment.h.

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

◆ Title()

QString HLSRecSegment::Title ( void  ) const
inline

Definition at line 32 of file HLSSegment.h.

◆ Url()

QUrl HLSRecSegment::Url ( void  ) const
inline

Definition at line 33 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ Duration()

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

Definition at line 34 of file HLSSegment.h.

Referenced by HLSReader::DownloadSegmentData().

◆ toString()

QString HLSRecSegment::toString ( void  ) const

Definition at line 61 of file HLSSegment.cpp.

Friends And Related Function Documentation

◆ HLSReader

friend class HLSReader
friend

Definition at line 19 of file HLSSegment.h.

Member Data Documentation

◆ m_inputId

int HLSRecSegment::m_inputId {0}
protected

Definition at line 50 of file HLSSegment.h.

Referenced by operator=().

◆ m_sequence

int64_t HLSRecSegment::m_sequence {0}
protected

Definition at line 51 of file HLSSegment.h.

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

◆ m_duration

std::chrono::milliseconds HLSRecSegment::m_duration {0ms}
protected

Definition at line 52 of file HLSSegment.h.

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

◆ m_bitrate

uint64_t HLSRecSegment::m_bitrate {0}
protected

Definition at line 53 of file HLSSegment.h.

Referenced by operator=().

◆ m_title

QString HLSRecSegment::m_title
protected

Definition at line 54 of file HLSSegment.h.

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

◆ m_url

QUrl HLSRecSegment::m_url
protected

Definition at line 55 of file HLSSegment.h.

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


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