MythTV  master
Public Slots | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Streamer Class Reference

#include <mythfilerecorder.h>

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

Public Slots

void CloseFile (void)
 
void SendBytes (void)
 

Public Member Functions

 Streamer (Commands *parent, const QString &fname, int data_rate, bool loopinput)
 
virtual ~Streamer (void)
 
void BlockSize (int val)
 
bool IsOpen (void) const
 
QString ErrorString (void) const
 

Protected Member Functions

void OpenFile (void)
 

Private Attributes

Commandsm_parent
 
QString m_fileName
 
QFile * m_file
 
bool m_loop
 
QString m_error
 
QByteArray m_buffer
 
int m_bufferMax
 
QAtomicInt m_blockSize
 
uint m_data_rate
 
QDateTime m_start_time
 
quint64 m_data_read
 

Detailed Description

Definition at line 16 of file mythfilerecorder.h.

Constructor & Destructor Documentation

◆ Streamer()

Streamer::Streamer ( Commands parent,
const QString &  fname,
int  data_rate,
bool  loopinput 
)

Definition at line 28 of file mythfilerecorder.cpp.

◆ ~Streamer()

Streamer::~Streamer ( void  )
virtual

Definition at line 39 of file mythfilerecorder.cpp.

Member Function Documentation

◆ CloseFile

void Streamer::CloseFile ( void  )
slot

Definition at line 56 of file mythfilerecorder.cpp.

Referenced by ~Streamer().

◆ SendBytes

void Streamer::SendBytes ( void  )
slot

Definition at line 69 of file mythfilerecorder.cpp.

◆ BlockSize()

void Streamer::BlockSize ( int  val)
inline

Definition at line 28 of file mythfilerecorder.h.

Referenced by Commands::process_command().

◆ IsOpen()

bool Streamer::IsOpen ( void  ) const
inline

Definition at line 29 of file mythfilerecorder.h.

Referenced by Commands::process_command().

◆ ErrorString()

QString Streamer::ErrorString ( void  ) const
inline

Definition at line 30 of file mythfilerecorder.h.

Referenced by Commands::process_command().

◆ OpenFile()

void Streamer::OpenFile ( void  )
protected

Definition at line 46 of file mythfilerecorder.cpp.

Referenced by Streamer().

Member Data Documentation

◆ m_parent

Commands* Streamer::m_parent
private

Definition at line 36 of file mythfilerecorder.h.

Referenced by SendBytes().

◆ m_fileName

QString Streamer::m_fileName
private

Definition at line 37 of file mythfilerecorder.h.

Referenced by OpenFile().

◆ m_file

QFile* Streamer::m_file
private

Definition at line 38 of file mythfilerecorder.h.

Referenced by CloseFile(), IsOpen(), OpenFile(), and SendBytes().

◆ m_loop

bool Streamer::m_loop
private

Definition at line 39 of file mythfilerecorder.h.

Referenced by SendBytes().

◆ m_error

QString Streamer::m_error
private

Definition at line 41 of file mythfilerecorder.h.

Referenced by ErrorString().

◆ m_buffer

QByteArray Streamer::m_buffer
private

Definition at line 43 of file mythfilerecorder.h.

Referenced by SendBytes().

◆ m_bufferMax

int Streamer::m_bufferMax
private

Definition at line 44 of file mythfilerecorder.h.

Referenced by SendBytes().

◆ m_blockSize

QAtomicInt Streamer::m_blockSize
private

Definition at line 45 of file mythfilerecorder.h.

Referenced by BlockSize(), and SendBytes().

◆ m_data_rate

uint Streamer::m_data_rate
private

Definition at line 48 of file mythfilerecorder.h.

Referenced by SendBytes(), and Streamer().

◆ m_start_time

QDateTime Streamer::m_start_time
private

Definition at line 49 of file mythfilerecorder.h.

Referenced by SendBytes().

◆ m_data_read

quint64 Streamer::m_data_read
private

Definition at line 50 of file mythfilerecorder.h.

Referenced by SendBytes().


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