MythTV  master
Public Member Functions | Public Attributes | List of all members
CC708Reader Class Reference

#include <cc708reader.h>

Collaboration diagram for CC708Reader:
Collaboration graph
[legend]

Public Member Functions

 CC708Reader (MythPlayer *owner)
 
virtual ~CC708Reader ()
 
void SetCurrentService (int service)
 
CC708ServiceGetCurrentService (void)
 
void SetEnabled (bool enable)
 
void ClearBuffers (void)
 
CC708ServiceGetService (uint service_num)
 
CC708WindowGetCCWin (uint service_num, uint window_id)
 
CC708WindowGetCCWin (uint svc_num)
 
virtual void SetCurrentWindow (uint service_num, int window_id)
 
virtual void DefineWindow (uint service_num, int window_id, int priority, bool visible, int anchor_point, int relative_pos, int anchor_vertical, int anchor_horizontal, int row_count, int column_count, int row_lock, int column_lock, int pen_style, int window_style)
 
virtual void DeleteWindows (uint service_num, int window_map)
 
virtual void DisplayWindows (uint service_num, int window_map)
 
virtual void HideWindows (uint service_num, int window_map)
 
virtual void ClearWindows (uint service_num, int window_map)
 
virtual void ToggleWindows (uint service_num, int window_map)
 
virtual void SetWindowAttributes (uint service_num, int fill_color, int fill_opacity, int border_color, int border_type, int scroll_dir, int print_dir, int effect_dir, int display_effect, int effect_speed, int justify, int word_wrap)
 
virtual void SetPenAttributes (uint service_num, int pen_size, int offset, int text_tag, int font_tag, int edge_type, int underline, int italics)
 
virtual void SetPenColor (uint service_num, int fg_color, int fg_opacity, int bg_color, int bg_opacity, int edge_color)
 
virtual void SetPenLocation (uint service_num, int row, int column)
 
virtual void Delay (uint service_num, int tenths_of_seconds)
 
virtual void DelayCancel (uint service_num)
 
virtual void Reset (uint service_num)
 
virtual void TextWrite (uint service_num, short *unicode_string, short len)
 

Public Attributes

unsigned char * m_buf [k708MaxServices]
 
uint m_buf_alloc [k708MaxServices]
 
uint m_buf_size [k708MaxServices]
 
bool m_delayed [k708MaxServices]
 
short * m_temp_str [k708MaxServices]
 
int m_temp_str_alloc [k708MaxServices]
 
int m_temp_str_size [k708MaxServices]
 
int m_currentservice {1}
 
CC708Service CC708services [k708MaxServices]
 
int CC708DelayedDeletes [k708MaxServices]
 
QString m_osdfontname
 
QString m_osdccfontname
 
QString m_osd708fontnames [20]
 
QString m_osdprefix
 
QString m_osdtheme
 
MythPlayerm_parent {nullptr}
 
bool m_enabled {false}
 

Detailed Description

Definition at line 16 of file cc708reader.h.

Constructor & Destructor Documentation

◆ CC708Reader()

CC708Reader::CC708Reader ( MythPlayer owner)
explicit

Definition at line 14 of file cc708reader.cpp.

◆ ~CC708Reader()

CC708Reader::~CC708Reader ( )
virtual

Definition at line 31 of file cc708reader.cpp.

Member Function Documentation

◆ SetCurrentService()

void CC708Reader::SetCurrentService ( int  service)
inline

Definition at line 22 of file cc708reader.h.

Referenced by MythPlayer::SetTrack().

◆ GetCurrentService()

CC708Service* CC708Reader::GetCurrentService ( void  )
inline

Definition at line 23 of file cc708reader.h.

Referenced by SubtitleScreen::DisplayCC708Subtitles().

◆ SetEnabled()

void CC708Reader::SetEnabled ( bool  enable)
inline

Definition at line 24 of file cc708reader.h.

Referenced by SubtitleScreen::EnableSubtitles().

◆ ClearBuffers()

void CC708Reader::ClearBuffers ( void  )

Definition at line 40 of file cc708reader.cpp.

Referenced by SubtitleScreen::ClearNonDisplayedSubtitles().

◆ GetService()

CC708Service* CC708Reader::GetService ( uint  service_num)
inline

Definition at line 27 of file cc708reader.h.

◆ GetCCWin() [1/2]

CC708Window& CC708Reader::GetCCWin ( uint  service_num,
uint  window_id 
)
inline

◆ GetCCWin() [2/2]

CC708Window& CC708Reader::GetCCWin ( uint  svc_num)
inline

Definition at line 31 of file cc708reader.h.

◆ SetCurrentWindow()

void CC708Reader::SetCurrentWindow ( uint  service_num,
int  window_id 
)
virtual

Definition at line 46 of file cc708reader.cpp.

◆ DefineWindow()

void CC708Reader::DefineWindow ( uint  service_num,
int  window_id,
int  priority,
bool  visible,
int  anchor_point,
int  relative_pos,
int  anchor_vertical,
int  anchor_horizontal,
int  row_count,
int  column_count,
int  row_lock,
int  column_lock,
int  pen_style,
int  window_style 
)
virtual

Definition at line 54 of file cc708reader.cpp.

◆ DeleteWindows()

void CC708Reader::DeleteWindows ( uint  service_num,
int  window_map 
)
virtual

Definition at line 97 of file cc708reader.cpp.

Referenced by ClearBuffers(), and Reset().

◆ DisplayWindows()

void CC708Reader::DisplayWindows ( uint  service_num,
int  window_map 
)
virtual

Definition at line 109 of file cc708reader.cpp.

◆ HideWindows()

void CC708Reader::HideWindows ( uint  service_num,
int  window_map 
)
virtual

Definition at line 144 of file cc708reader.cpp.

◆ ClearWindows()

void CC708Reader::ClearWindows ( uint  service_num,
int  window_map 
)
virtual

Definition at line 160 of file cc708reader.cpp.

◆ ToggleWindows()

void CC708Reader::ToggleWindows ( uint  service_num,
int  window_map 
)
virtual

Definition at line 171 of file cc708reader.cpp.

◆ SetWindowAttributes()

void CC708Reader::SetWindowAttributes ( uint  service_num,
int  fill_color,
int  fill_opacity,
int  border_color,
int  border_type,
int  scroll_dir,
int  print_dir,
int  effect_dir,
int  display_effect,
int  effect_speed,
int  justify,
int  word_wrap 
)
virtual

Definition at line 187 of file cc708reader.cpp.

◆ SetPenAttributes()

void CC708Reader::SetPenAttributes ( uint  service_num,
int  pen_size,
int  offset,
int  text_tag,
int  font_tag,
int  edge_type,
int  underline,
int  italics 
)
virtual

Definition at line 215 of file cc708reader.cpp.

◆ SetPenColor()

void CC708Reader::SetPenColor ( uint  service_num,
int  fg_color,
int  fg_opacity,
int  bg_color,
int  bg_opacity,
int  edge_color 
)
virtual

Definition at line 233 of file cc708reader.cpp.

◆ SetPenLocation()

void CC708Reader::SetPenLocation ( uint  service_num,
int  row,
int  column 
)
virtual

Definition at line 254 of file cc708reader.cpp.

◆ Delay()

void CC708Reader::Delay ( uint  service_num,
int  tenths_of_seconds 
)
virtual

Definition at line 262 of file cc708reader.cpp.

◆ DelayCancel()

void CC708Reader::DelayCancel ( uint  service_num)
virtual

Definition at line 269 of file cc708reader.cpp.

Referenced by Reset().

◆ Reset()

void CC708Reader::Reset ( uint  service_num)
virtual

Definition at line 275 of file cc708reader.cpp.

◆ TextWrite()

void CC708Reader::TextWrite ( uint  service_num,
short *  unicode_string,
short  len 
)
virtual

Definition at line 283 of file cc708reader.cpp.

Member Data Documentation

◆ m_buf

unsigned char* CC708Reader::m_buf[k708MaxServices]

Definition at line 78 of file cc708reader.h.

Referenced by CC708Reader(), and ~CC708Reader().

◆ m_buf_alloc

uint CC708Reader::m_buf_alloc[k708MaxServices]

Definition at line 79 of file cc708reader.h.

Referenced by CC708Reader().

◆ m_buf_size

uint CC708Reader::m_buf_size[k708MaxServices]

Definition at line 80 of file cc708reader.h.

Referenced by CC708Reader().

◆ m_delayed

bool CC708Reader::m_delayed[k708MaxServices]

Definition at line 81 of file cc708reader.h.

Referenced by CC708Reader().

◆ m_temp_str

short* CC708Reader::m_temp_str[k708MaxServices]

Definition at line 83 of file cc708reader.h.

Referenced by CC708Reader(), and ~CC708Reader().

◆ m_temp_str_alloc

int CC708Reader::m_temp_str_alloc[k708MaxServices]

Definition at line 84 of file cc708reader.h.

Referenced by CC708Reader().

◆ m_temp_str_size

int CC708Reader::m_temp_str_size[k708MaxServices]

Definition at line 85 of file cc708reader.h.

Referenced by CC708Reader().

◆ m_currentservice

int CC708Reader::m_currentservice {1}

Definition at line 87 of file cc708reader.h.

Referenced by GetCurrentService(), and SetCurrentService().

◆ CC708services

CC708Service CC708Reader::CC708services[k708MaxServices]

◆ CC708DelayedDeletes

int CC708Reader::CC708DelayedDeletes[k708MaxServices]

Definition at line 89 of file cc708reader.h.

Referenced by CC708Reader(), DefineWindow(), DeleteWindows(), and DisplayWindows().

◆ m_osdfontname

QString CC708Reader::m_osdfontname

Definition at line 90 of file cc708reader.h.

◆ m_osdccfontname

QString CC708Reader::m_osdccfontname

Definition at line 91 of file cc708reader.h.

◆ m_osd708fontnames

QString CC708Reader::m_osd708fontnames[20]

Definition at line 92 of file cc708reader.h.

◆ m_osdprefix

QString CC708Reader::m_osdprefix

Definition at line 93 of file cc708reader.h.

◆ m_osdtheme

QString CC708Reader::m_osdtheme

Definition at line 94 of file cc708reader.h.

◆ m_parent

MythPlayer* CC708Reader::m_parent {nullptr}

Definition at line 96 of file cc708reader.h.

Referenced by DefineWindow().

◆ m_enabled

bool CC708Reader::m_enabled {false}

Definition at line 97 of file cc708reader.h.

Referenced by SetEnabled().


The documentation for this class was generated from the following files: