MythTV  master
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:
59 
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};
75 };
76 
77 #endif // ASI_RECORDER_H
channel
QDomElement channel
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:501
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:44
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:56
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:34
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:15
TVRec
This is the coordinating class of the Recorder Subsystem.
Definition: tv_rec.h:143
ASIRecorder::StartNewFile
void StartNewFile(void) override
Definition: asirecorder.cpp:69
RecordingProfile
Definition: recordingprofile.h:40