MythTV
master
mythtv
libs
libmythtv
recorders
satiprecorder.h
Go to the documentation of this file.
1
#ifndef SATIPRECORDER_H
2
#define SATIPRECORDER_H
3
4
// Qt includes
5
#include <QString>
6
7
// MythTV includes
8
#include "
dtvrecorder.h
"
9
10
class
SatIPChannel
;
11
class
SatIPStreamHandler
;
12
13
class
SatIPRecorder
:
public
DTVRecorder
14
{
15
public
:
16
SatIPRecorder
(
TVRec
*rec,
SatIPChannel
*channel);
17
18
void
run
(
void
)
override
;
// RecorderBase
19
20
bool
Open
(
void
);
21
bool
IsOpen
(
void
)
const
{
return
m_streamHandler
; }
22
void
Close
(
void
);
23
void
StartNewFile
(
void
)
override
;
// RecorderBase
24
25
QString
GetSIStandard
(
void
)
const override
;
// DTVRecorder
26
27
private
:
28
bool
PauseAndWait
(std::chrono::milliseconds
timeout
= 100ms)
override
;
// RecorderBase
29
30
private
:
31
SatIPChannel
*
m_channel
{
nullptr
};
32
SatIPStreamHandler
*
m_streamHandler
{
nullptr
};
33
int
m_inputId
{0};
34
};
35
36
#endif // SATIPRECORDER_H
hardwareprofile.smolt.timeout
float timeout
Definition:
smolt.py:102
dtvrecorder.h
SatIPRecorder
Definition:
satiprecorder.h:13
SatIPRecorder::PauseAndWait
bool PauseAndWait(std::chrono::milliseconds timeout=100ms) override
If m_requestPause is true, sets pause and blocks up to timeout milliseconds or until unpaused,...
Definition:
satiprecorder.cpp:155
SatIPRecorder::m_channel
SatIPChannel * m_channel
Definition:
satiprecorder.h:31
SatIPRecorder::Close
void Close(void)
Definition:
satiprecorder.cpp:51
SatIPChannel
Definition:
satipchannel.h:12
SatIPRecorder::Open
bool Open(void)
Definition:
satiprecorder.cpp:25
SatIPRecorder::GetSIStandard
QString GetSIStandard(void) const override
Definition:
satiprecorder.cpp:183
SatIPRecorder::m_inputId
int m_inputId
Definition:
satiprecorder.h:33
SatIPRecorder::SatIPRecorder
SatIPRecorder(TVRec *rec, SatIPChannel *channel)
Definition:
satiprecorder.cpp:17
DTVRecorder
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
Definition:
dtvrecorder.h:26
SatIPRecorder::StartNewFile
void StartNewFile(void) override
Definition:
satiprecorder.cpp:59
SatIPRecorder::IsOpen
bool IsOpen(void) const
Definition:
satiprecorder.h:21
TVRec
This is the coordinating class of the Recorder Subsystem.
Definition:
tv_rec.h:142
SatIPRecorder::run
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
Definition:
satiprecorder.cpp:74
SatIPStreamHandler
Definition:
satipstreamhandler.h:22
SatIPRecorder::m_streamHandler
SatIPStreamHandler * m_streamHandler
Definition:
satiprecorder.h:32
Generated on Tue Jan 7 2025 03:18:33 for MythTV by
1.8.17