MythTV  master
mythopticalbuffer.h
Go to the documentation of this file.
1 #ifndef MYTHOPTICALBUFFER_H
2 #define MYTHOPTICALBUFFER_H
3 
4 // MythTV
6 
8 {
9  public:
10  explicit MythOpticalBuffer(MythBufferType Type);
11 
12  bool IsInMenu (void) const override;
13  bool IsStreamed (void) override { return true; }
14  virtual bool GetNameAndSerialNum (QString& Name, QString& SerialNumber) = 0;
15 
16  protected:
17  enum MythOpticalState : std::uint8_t
18  {
22  };
23 
25  int m_currentAngle { 0 };
26  bool m_inMenu { false };
27  QString m_discName;
29 };
30 
31 #endif // MYTHOPTICALBUFFER_H
MythOpticalBuffer::PROCESS_REPROCESS
@ PROCESS_REPROCESS
Definition: mythopticalbuffer.h:20
MythOpticalBuffer::IsInMenu
bool IsInMenu(void) const override
Definition: mythopticalbuffer.cpp:9
MythMediaBuffer
Definition: mythmediabuffer.h:59
MythOpticalBuffer::GetNameAndSerialNum
virtual bool GetNameAndSerialNum(QString &Name, QString &SerialNumber)=0
MythOpticalBuffer::PROCESS_WAIT
@ PROCESS_WAIT
Definition: mythopticalbuffer.h:21
MythOpticalBuffer::m_discSerialNumber
QString m_discSerialNumber
Definition: mythopticalbuffer.h:28
MythOpticalBuffer::MythOpticalBuffer
MythOpticalBuffer(MythBufferType Type)
Definition: mythopticalbuffer.cpp:4
MythBufferType
MythBufferType
Definition: mythmediabuffer.h:48
mythmediabuffer.h
MythOpticalBuffer::m_inMenu
bool m_inMenu
Definition: mythopticalbuffer.h:26
MythOpticalBuffer::m_currentAngle
int m_currentAngle
Definition: mythopticalbuffer.h:25
MythOpticalBuffer::IsStreamed
bool IsStreamed(void) override
Definition: mythopticalbuffer.h:13
MythOpticalBuffer::m_discName
QString m_discName
Definition: mythopticalbuffer.h:27
Name
Definition: channelsettings.cpp:71
MythOpticalBuffer
Definition: mythopticalbuffer.h:7
MythOpticalBuffer::m_processState
MythOpticalState m_processState
Definition: mythopticalbuffer.h:24
MythOpticalBuffer::MythOpticalState
MythOpticalState
Definition: mythopticalbuffer.h:17
MythOpticalBuffer::PROCESS_NORMAL
@ PROCESS_NORMAL
Definition: mythopticalbuffer.h:19