Go to the documentation of this file.
35 MythEvent(Info), m_elaspedSeconds(s), m_writtenBytes(w),
36 m_brate(b), m_freq(
f), m_prec(
p), m_chan(c) {}
40 QByteArray
tmp =
e.toUtf8();
41 m_errorMsg =
new QString(
tmp.constData());
54 const unsigned long &
writtenBytes()
const {
return m_writtenBytes; }
55 const int &
bitrate()
const {
return m_brate; }
72 m_elaspedSeconds(o.m_elaspedSeconds),
73 m_writtenBytes(o.m_writtenBytes),
74 m_brate(o.m_brate), m_freq(o.m_freq),
75 m_prec(o.m_prec), m_chan(o.m_chan)
84 QString *m_errorMsg {
nullptr};
86 long m_elaspedSeconds {0};
87 unsigned long m_writtenBytes {0};
94 using Visuals = std::vector<MythTV::Visual*>;
112 void error(
const QString &
e);
113 void dispatchVisual(uchar *b,
unsigned long b_len,
114 unsigned long written,
int chan,
int prec);
115 void prepareVisuals();
123 unsigned int m_bufsize {0};
static void error(const char *str,...)
const long & elapsedSeconds() const
Superclass for making an object have a set of listeners.
This class is used as a container for messages.
const int & precision() const
OutputEvent(const QString &e)
MythEvent * clone(void) const override
void setBufferSize(unsigned int sz)
OutputEvent(long s, unsigned long w, int b, int f, int p, int c)
const QString * errorMessage() const
OutputEvent(const OutputEvent &o)
const int & frequency() const
const int & bitrate() const
std::vector< MythTV::Visual * > Visuals
unsigned int bufferSize() const
const unsigned long & writtenBytes() const
const int & channels() const