Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cReplayControl Class Reference

#include <menu.h>

Inheritance diagram for cReplayControl:

Inheritance graph
[legend]
Collaboration diagram for cReplayControl:

Collaboration graph
[legend]

Detailed Description

Replay control for recordings

Definition at line 141 of file menu.h.

Public Methods

 cReplayControl (void)
virtual ~cReplayControl ()
virtual eOSState ProcessKey (eKeys Key)
virtual void Hide (void)
bool Visible (void)

Static Public Methods

void SetRecording (const char *FileName, const char *Title)
const char * LastReplayed (void)
void ClearLastReplayed (const char *FileName)

Private Methods

void TimeSearchDisplay (void)
void TimeSearchProcess (eKeys Key)
void TimeSearch (void)
void Show (int Seconds=0)
void DisplayAtBottom (const char *s=NULL)
void ShowMode (void)
bool ShowProgress (bool Initial)
void MarkToggle (void)
void MarkJump (bool Forward)
void MarkMove (bool Forward)
void EditCut (void)
void EditTest (void)

Private Attributes

cMarks marks
bool visible
bool modeOnly
bool shown
bool displayFrames
int lastCurrent
int lastTotal
time_t timeoutShow
bool timeSearchActive
bool timeSearchHide
int timeSearchTime
int timeSearchPos

Static Private Attributes

char * fileName = NULL
char * title = NULL


Constructor & Destructor Documentation

cReplayControl::cReplayControl void   
 

Definition at line 2963 of file menu.c.

References displayFrames, lastCurrent, lastTotal, cMarks::Load(), marks, modeOnly, cStatus::MsgReplaying(), cRecording::Name(), shown, timeoutShow, timeSearchActive, and visible.

cReplayControl::~cReplayControl   [virtual]
 

Definition at line 2975 of file menu.c.

References Hide(), cStatus::MsgReplaying(), and cDvbPlayerControl::Stop().


Member Function Documentation

void cReplayControl::ClearLastReplayed const char *    FileName [static]
 

Definition at line 2995 of file menu.c.

References fileName.

Referenced by cMenuRecordings::Delete().

void cReplayControl::DisplayAtBottom const char *    s = NULL [private]
 

Definition at line 3022 of file menu.c.

References clrTransparent, max(), cOsdObject::Width(), and cOsd::WidthInCells().

Referenced by ShowMode(), TimeSearchDisplay(), and TimeSearchProcess().

void cReplayControl::EditCut void    [private]
 

Definition at line 3252 of file menu.c.

References cCutter::Active(), Hide(), ShowMode(), cCutter::Start(), and tr.

Referenced by ProcessKey().

void cReplayControl::EditTest void    [private]
 

Definition at line 3268 of file menu.c.

References cMarks::Get(), cDvbPlayerControl::GetIndex(), cMarks::GetNext(), cDvbPlayerControl::Goto(), cListObject::Index(), marks, cList< cMark >::Next(), cDvbPlayerControl::Play(), and cMark::position.

Referenced by ProcessKey().

void cReplayControl::Hide void    [virtual]
 

Implements cControl.

Definition at line 3013 of file menu.c.

References modeOnly, cOsdObject::needsFastResponse, and visible.

Referenced by EditCut(), ProcessKey(), Show(), TimeSearch(), TimeSearchProcess(), and ~cReplayControl().

const char * cReplayControl::LastReplayed void    [static]
 

Definition at line 2990 of file menu.c.

References fileName.

Referenced by cMenuRecordings::cMenuRecordings(), and cMenuMain::ProcessKey().

void cReplayControl::MarkJump bool    Forward [private]
 

Definition at line 3216 of file menu.c.

References cListBase::Count(), displayFrames, cDvbPlayerControl::GetIndex(), cMarks::GetNext(), cMarks::GetPrev(), cDvbPlayerControl::Goto(), marks, and cMark::position.

Referenced by ProcessKey().

void cReplayControl::MarkMove bool    Forward [private]
 

Definition at line 3229 of file menu.c.

References displayFrames, cMarks::Get(), cDvbPlayerControl::GetIndex(), cDvbPlayerControl::Goto(), marks, cList< cMark >::Next(), cMark::position, cList< cMark >::Prev(), cConfig< cMark >::Save(), and cDvbPlayerControl::SkipFrames().

Referenced by ProcessKey().

void cReplayControl::MarkToggle void    [private]
 

Definition at line 3200 of file menu.c.

References cMarks::Add(), cListBase::Del(), cMarks::Get(), cDvbPlayerControl::GetIndex(), lastCurrent, marks, cConfig< cMark >::Save(), and cOsdObject::Show().

Referenced by ProcessKey().

eOSState cReplayControl::ProcessKey eKeys    Key [virtual]
 

Reimplemented from cOsdObject.

Definition at line 3286 of file menu.c.

References cDvbPlayerControl::Active(), cDvbPlayerControl::Backward(), displayFrames, EditCut(), EditTest(), eOSState, cDvbPlayerControl::Forward(), Hide(), k_Release, k_Repeat, kBack, kBlue, kDown, kEditCut, kEditTest, kFastFwd, kFastRew, kGreen, kLeft, kMarkJumpBack, kMarkJumpForward, kMarkMoveBack, kMarkMoveForward, kMarkToggle, kNone, kOk, kPause, kPlay, kRed, kRight, kStop, kUp, kYellow, MarkJump(), MarkMove(), MarkToggle(), modeOnly, osContinue, osEnd, osRecordings, osUnknown, cDvbPlayerControl::Pause(), cDvbPlayerControl::Play(), cOsdObject::Show(), ShowMode(), shown, ShowProgress(), cDvbPlayerControl::SkipSeconds(), cDvbPlayerControl::Stop(), timeoutShow, TimeSearch(), timeSearchActive, TimeSearchProcess(), and visible.

void cReplayControl::SetRecording const char *    FileName,
const char *    Title
[static]
 

Definition at line 2982 of file menu.c.

References fileName, and title.

Referenced by cMenuRecordings::Play().

void cReplayControl::Show int    Seconds = 0 [private]
 

Definition at line 3003 of file menu.c.

References Hide(), shown, ShowProgress(), timeoutShow, and visible.

void cReplayControl::ShowMode void    [private]
 

Definition at line 3036 of file menu.c.

References DisplayAtBottom(), eDvbFont, cDvbPlayerControl::Forward(), cDvbPlayerControl::GetReplayMode(), modeOnly, MODETIMEOUT, cDvbPlayerControl::Play(), strn0cpy(), timeoutShow, timeSearchActive, and visible.

Referenced by EditCut(), ProcessKey(), ShowProgress(), and TimeSearchProcess().

bool cReplayControl::ShowProgress bool    Initial [private]
 

Definition at line 3075 of file menu.c.

References cDvbPlayerControl::GetIndex(), IndexToHMSF(), lastCurrent, lastTotal, cOsdObject::needsFastResponse, ShowMode(), visible, and cOsdObject::Width().

Referenced by ProcessKey(), and Show().

void cReplayControl::TimeSearch void    [private]
 

Definition at line 3182 of file menu.c.

References Hide(), cOsdObject::Show(), timeoutShow, timeSearchActive, TimeSearchDisplay(), timeSearchHide, timeSearchPos, timeSearchTime, and visible.

Referenced by ProcessKey().

void cReplayControl::TimeSearchDisplay void    [private]
 

Definition at line 3117 of file menu.c.

References DisplayAtBottom(), timeSearchPos, timeSearchTime, and tr.

Referenced by TimeSearch(), and TimeSearchProcess().

void cReplayControl::TimeSearchProcess eKeys    Key [private]
 

Definition at line 3134 of file menu.c.

References DisplayAtBottom(), FRAMESPERSEC, cDvbPlayerControl::Goto(), Hide(), k0, k9, kDown, kFastFwd, kFastRew, kLeft, kPause, kPlay, kRight, kUp, lastCurrent, lastTotal, min(), ShowMode(), cDvbPlayerControl::SkipSeconds(), timeSearchActive, TimeSearchDisplay(), timeSearchPos, and timeSearchTime.

Referenced by ProcessKey().

bool cReplayControl::Visible void    [inline]
 

Definition at line 168 of file menu.h.


Field Documentation

bool cReplayControl::displayFrames [private]
 

Definition at line 144 of file menu.h.

Referenced by cReplayControl(), MarkJump(), MarkMove(), and ProcessKey().

char * cReplayControl::fileName = NULL [static, private]
 

Definition at line 2960 of file menu.c.

Referenced by ClearLastReplayed(), LastReplayed(), and SetRecording().

int cReplayControl::lastCurrent [private]
 

Definition at line 145 of file menu.h.

Referenced by cReplayControl(), MarkToggle(), ShowProgress(), and TimeSearchProcess().

int cReplayControl::lastTotal [private]
 

Definition at line 145 of file menu.h.

Referenced by cReplayControl(), ShowProgress(), and TimeSearchProcess().

cMarks cReplayControl::marks [private]
 

Definition at line 143 of file menu.h.

Referenced by cReplayControl(), EditTest(), MarkJump(), MarkMove(), and MarkToggle().

bool cReplayControl::modeOnly [private]
 

Definition at line 144 of file menu.h.

Referenced by cReplayControl(), Hide(), ProcessKey(), and ShowMode().

bool cReplayControl::shown [private]
 

Definition at line 144 of file menu.h.

Referenced by cReplayControl(), ProcessKey(), and Show().

time_t cReplayControl::timeoutShow [private]
 

Definition at line 146 of file menu.h.

Referenced by cReplayControl(), ProcessKey(), Show(), ShowMode(), and TimeSearch().

bool cReplayControl::timeSearchActive [private]
 

Definition at line 147 of file menu.h.

Referenced by cReplayControl(), ProcessKey(), ShowMode(), TimeSearch(), and TimeSearchProcess().

bool cReplayControl::timeSearchHide [private]
 

Definition at line 147 of file menu.h.

Referenced by TimeSearch().

int cReplayControl::timeSearchPos [private]
 

Definition at line 148 of file menu.h.

Referenced by TimeSearch(), TimeSearchDisplay(), and TimeSearchProcess().

int cReplayControl::timeSearchTime [private]
 

Definition at line 148 of file menu.h.

Referenced by TimeSearch(), TimeSearchDisplay(), and TimeSearchProcess().

char * cReplayControl::title = NULL [static, private]
 

Definition at line 2961 of file menu.c.

Referenced by SetRecording().

bool cReplayControl::visible [private]
 

Definition at line 144 of file menu.h.

Referenced by cReplayControl(), Hide(), ProcessKey(), Show(), ShowMode(), ShowProgress(), and TimeSearch().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:52 2003 for VDR by doxygen1.3-rc2