MythTV  master
Classes | Typedefs | Enumerations | Variables
teletextreader.h File Reference
#include <array>
#include <cstdint>
#include <map>
#include <vector>
#include <QString>
#include <QMutex>
Include dependency graph for teletextreader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TeletextSubPage
 
class  TeletextPage
 
class  TeletextMagazine
 
class  TeletextReader
 

Typedefs

using tt_line_array = std::array< uint8_t, 40 >
 
using int_to_subpage_t = std::map< int, TeletextSubPage >
 
using int_to_page_t = std::map< int, TeletextPage >
 

Enumerations

enum  TTColor {
  kTTColorBlack = 0, kTTColorRed = 1, kTTColorGreen = 2, kTTColorYellow = 3,
  kTTColorBlue = 4, kTTColorMagenta = 5, kTTColorCyan = 6, kTTColorWhite = 7,
  kTTColorTransparent = 8
}
 

Variables

static constexpr uint8_t TP_SUPPRESS_HEADER { 0x01 }
 
static constexpr uint8_t TP_UPDATE_INDICATOR { 0x02 }
 
static constexpr uint8_t TP_INTERRUPTED_SEQ { 0x04 }
 
static constexpr uint8_t TP_INHIBIT_DISPLAY { 0x08 }
 
static constexpr uint8_t TP_MAGAZINE_SERIAL { 0x10 }
 
static constexpr uint8_t TP_ERASE_PAGE { 0x20 }
 
static constexpr uint8_t TP_NEWSFLASH { 0x40 }
 
static constexpr uint8_t TP_SUBTITLE { 0x80 }
 

Typedef Documentation

◆ tt_line_array

using tt_line_array = std::array<uint8_t,40>

Definition at line 36 of file teletextreader.h.

◆ int_to_subpage_t

using int_to_subpage_t = std::map<int, TeletextSubPage>

Definition at line 52 of file teletextreader.h.

◆ int_to_page_t

using int_to_page_t = std::map<int, TeletextPage>

Definition at line 61 of file teletextreader.h.

Enumeration Type Documentation

◆ TTColor

enum TTColor
Enumerator
kTTColorBlack 
kTTColorRed 
kTTColorGreen 
kTTColorYellow 
kTTColorBlue 
kTTColorMagenta 
kTTColorCyan 
kTTColorWhite 
kTTColorTransparent 

Definition at line 14 of file teletextreader.h.

Variable Documentation

◆ TP_SUPPRESS_HEADER

constexpr uint8_t TP_SUPPRESS_HEADER { 0x01 }
staticconstexpr

Definition at line 27 of file teletextreader.h.

Referenced by TeletextScreen::Pulse().

◆ TP_UPDATE_INDICATOR

constexpr uint8_t TP_UPDATE_INDICATOR { 0x02 }
staticconstexpr

Definition at line 28 of file teletextreader.h.

◆ TP_INTERRUPTED_SEQ

constexpr uint8_t TP_INTERRUPTED_SEQ { 0x04 }
staticconstexpr

Definition at line 29 of file teletextreader.h.

Referenced by TeletextReader::AddPageHeader().

◆ TP_INHIBIT_DISPLAY

constexpr uint8_t TP_INHIBIT_DISPLAY { 0x08 }
staticconstexpr

Definition at line 30 of file teletextreader.h.

◆ TP_MAGAZINE_SERIAL

constexpr uint8_t TP_MAGAZINE_SERIAL { 0x10 }
staticconstexpr

Definition at line 31 of file teletextreader.h.

Referenced by TeletextReader::AddPageHeader().

◆ TP_ERASE_PAGE

constexpr uint8_t TP_ERASE_PAGE { 0x20 }
staticconstexpr

Definition at line 32 of file teletextreader.h.

◆ TP_NEWSFLASH

constexpr uint8_t TP_NEWSFLASH { 0x40 }
staticconstexpr

Definition at line 33 of file teletextreader.h.

Referenced by TeletextScreen::Pulse().

◆ TP_SUBTITLE

constexpr uint8_t TP_SUBTITLE { 0x80 }
staticconstexpr

Definition at line 34 of file teletextreader.h.

Referenced by TeletextScreen::Pulse().