MythTV
master
libs
libmythtv
recorders
asirecorder.h
Go to the documentation of this file.
1
// -*- Mode: c++ -*-
2
/*
3
* Copyright (C) Daniel Kristjansson 2010
4
*
5
* Copyright notice is in asirecorder.cpp of the MythTV project.
6
*/
7
8
#ifndef ASI_RECORDER_H
9
#define ASI_RECORDER_H
10
11
// MythTV includes
12
#include "
dtvrecorder.h
"
13
14
class
ASIStreamHandler
;
15
class
RecordingProfile
;
16
class
ASIChannel
;
17
class
QString;
18
class
TVRec
;
19
55
class
ASIRecorder
:
public
DTVRecorder
56
{
57
public
:
58
ASIRecorder
(
TVRec
*rec,
ASIChannel
*channel);
59
60
void
SetOptionsFromProfile
(
RecordingProfile
*
profile
,
61
const
QString &videodev,
62
const
QString &audiodev,
63
const
QString &vbidev)
override
;
// RecorderBase
64
65
void
run
(
void
)
override
;
// RecorderBase
66
67
bool
Open
(
void
);
68
bool
IsOpen
(
void
)
const
;
69
void
Close
(
void
);
70
void
StartNewFile
(
void
)
override
;
// RecorderBase
71
72
private
:
73
ASIChannel
*
m_channel
{
nullptr
};
74
ASIStreamHandler
*
m_streamHandler
{
nullptr
};
75
};
76
77
#endif // ASI_RECORDER_H
dtvrecorder.h
ASIRecorder::SetOptionsFromProfile
void SetOptionsFromProfile(RecordingProfile *profile, const QString &videodev, const QString &audiodev, const QString &vbidev) override
Sets basic recorder options.
Definition:
asirecorder.cpp:57
ASIStreamHandler
Definition:
asistreamhandler.h:43
ASIRecorder::run
void run(void) override
run() starts the recording process, and does not exit until the recording is complete.
Definition:
asirecorder.cpp:83
ASIRecorder
This is a specialization of DTVRecorder used to handle streams from ASI drivers.
Definition:
asirecorder.h:55
ASIRecorder::Open
bool Open(void)
Definition:
asirecorder.cpp:169
ASIRecorder::IsOpen
bool IsOpen(void) const
Definition:
asirecorder.cpp:188
hardwareprofile.scan.profile
profile
Definition:
scan.py:99
ASIRecorder::m_channel
ASIChannel * m_channel
Definition:
asirecorder.h:73
ASIRecorder::ASIRecorder
ASIRecorder(TVRec *rec, ASIChannel *channel)
Definition:
asirecorder.cpp:36
DTVRecorder
This is a specialization of RecorderBase used to handle MPEG-2, MPEG-4, MPEG-4 AVC,...
Definition:
dtvrecorder.h:25
ASIRecorder::Close
void Close(void)
Definition:
asirecorder.cpp:193
ASIRecorder::m_streamHandler
ASIStreamHandler * m_streamHandler
Definition:
asirecorder.h:74
ASIChannel
-*- Mode: c++ -*-
Definition:
asichannel.h:14
TVRec
This is the coordinating class of the Recorder Subsystem.
Definition:
tv_rec.h:144
ASIRecorder::StartNewFile
void StartNewFile(void) override
Definition:
asirecorder.cpp:69
RecordingProfile
Definition:
recordingprofile.h:41
Generated on Sat Dec 2 2023 03:22:11 for MythTV by
1.8.17