MythTV
master
|
#include <mythexternrecorder/MythExternControl.h>
Public Member Functions | |
Buffer (MythExternControl *parent) | |
~Buffer (void) override=default | |
void | Start (void) |
void | Join (void) |
bool | Fill (const QByteArray &buffer) |
std::chrono::time_point< std::chrono::system_clock > | HeartBeat (void) const |
Static Public Attributes | |
static constexpr uint16_t | kMaxQueue { 500 } |
Protected Member Functions | |
void | Run (void) |
Private Types | |
using | block_t = std::vector< uint8_t > |
using | stack_t = std::queue< block_t > |
Private Attributes | |
MythExternControl * | m_parent |
std::thread | m_thread |
stack_t | m_data |
bool | m_dataSeen {false} |
std::chrono::time_point< std::chrono::system_clock > | m_heartbeat |
Definition at line 36 of file MythExternControl.h.
|
private |
Definition at line 61 of file MythExternControl.h.
|
private |
Definition at line 62 of file MythExternControl.h.
|
explicit |
Definition at line 510 of file MythExternControl.cpp.
|
overridedefault |
|
inline |
Definition at line 45 of file MythExternControl.h.
Referenced by MythExternControl::MythExternControl().
|
inline |
Definition at line 48 of file MythExternControl.h.
Referenced by MythExternControl::~MythExternControl().
bool Buffer::Fill | ( | const QByteArray & | buffer | ) |
Definition at line 516 of file MythExternControl.cpp.
Referenced by MythExternControl::Fill().
|
inline |
Definition at line 54 of file MythExternControl.h.
|
protected |
Definition at line 562 of file MythExternControl.cpp.
Referenced by Start().
|
staticconstexpr |
Definition at line 41 of file MythExternControl.h.
Referenced by Fill().
|
private |
Definition at line 64 of file MythExternControl.h.
|
private |
Definition at line 66 of file MythExternControl.h.
|
private |
Definition at line 68 of file MythExternControl.h.
Definition at line 69 of file MythExternControl.h.
Referenced by Fill().
|
private |
Definition at line 71 of file MythExternControl.h.
Referenced by Buffer(), Fill(), and HeartBeat().