cReplayControl Class Reference

#include <menu.h>

Inheritance diagram for cReplayControl:

Inheritance graph
[legend]
Collaboration diagram for cReplayControl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

void TimeSearchDisplay (void)
void TimeSearchProcess (eKeys Key)
void TimeSearch (void)
void ShowTimed (int Seconds=0)
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

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

Static Private Attributes

static cReplayControlcurrentReplayControl = NULL
static char * fileName = NULL
static char * title = NULL


Detailed Description

Definition at line 221 of file menu.h.


Constructor & Destructor Documentation

cReplayControl::cReplayControl ( void   ) 

Definition at line 3813 of file menu.c.

References currentReplayControl, displayFrames, displayReplay, cRecording::FileName(), fileName, lastCurrent, lastForward, lastPlay, lastSpeed, lastTotal, cMarks::Load(), marks, modeOnly, cStatus::MsgReplaying(), cRecording::Name(), SetTrackDescriptions(), shown, timeoutShow, timeSearchActive, and visible.

Here is the call graph for this function:

cReplayControl::~cReplayControl (  )  [virtual]

Definition at line 3830 of file menu.c.

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

Here is the call graph for this function:


Member Function Documentation

void cReplayControl::TimeSearchDisplay ( void   )  [private]

Definition at line 3953 of file menu.c.

References displayReplay, cSkinDisplayReplay::SetJump(), timeSearchPos, timeSearchTime, and tr.

Referenced by TimeSearch(), and TimeSearchProcess().

Here is the call graph for this function:

void cReplayControl::TimeSearchProcess ( eKeys  Key  )  [private]

Definition at line 3970 of file menu.c.

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

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::TimeSearch ( void   )  [private]

Definition at line 4019 of file menu.c.

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

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::ShowTimed ( int  Seconds = 0  )  [private]

Definition at line 3865 of file menu.c.

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

Referenced by MarkToggle(), and Show().

Here is the call graph for this function:

void cReplayControl::ShowMode ( void   )  [private]

Definition at line 3893 of file menu.c.

References cSkins::Current(), cSkin::DisplayReplay(), displayReplay, cDvbPlayerControl::Forward(), cDvbPlayerControl::GetReplayMode(), cOsd::IsOpen(), lastForward, lastPlay, lastSpeed, modeOnly, MODETIMEOUT, cDvbPlayerControl::Play(), cSkinDisplayReplay::SetMode(), Setup, cSetup::ShowReplayMode, Skins, timeoutShow, and visible.

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

Here is the call graph for this function:

bool cReplayControl::ShowProgress ( bool  Initial  )  [private]

Definition at line 3918 of file menu.c.

References cSkins::Current(), displayFrames, cSkin::DisplayReplay(), displayReplay, cSkinDisplay::Flush(), cDvbPlayerControl::GetIndex(), IndexToHMSF(), lastCurrent, lastTotal, marks, modeOnly, cOsdObject::needsFastResponse, cSkinDisplayReplay::SetCurrent(), cSkinDisplayReplay::SetMarks(), cSkinDisplayReplay::SetProgress(), cSkinDisplayReplay::SetTitle(), cSkinDisplayReplay::SetTotal(), ShowMode(), Skins, title, and visible.

Referenced by ProcessKey(), and ShowTimed().

Here is the call graph for this function:

void cReplayControl::MarkToggle ( void   )  [private]

Definition at line 4037 of file menu.c.

References cMarks::Add(), cListBase::Del(), cDvbPlayerControl::Forward(), cMarks::Get(), cDvbPlayerControl::GetIndex(), cDvbPlayerControl::GetReplayMode(), cDvbPlayerControl::Goto(), lastCurrent, marks, cDvbPlayerControl::Play(), cConfig< T >::Save(), and ShowTimed().

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::MarkJump ( bool  Forward  )  [private]

Definition at line 4057 of file menu.c.

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

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::MarkMove ( bool  Forward  )  [private]

Definition at line 4071 of file menu.c.

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

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::EditCut ( void   )  [private]

Definition at line 4094 of file menu.c.

References cCutter::Active(), cListBase::Count(), fileName, Hide(), marks, cSkins::Message(), mtError, mtInfo, ShowMode(), Skins, cCutter::Start(), and tr.

Referenced by ProcessKey().

Here is the call graph for this function:

void cReplayControl::EditTest ( void   )  [private]

Definition at line 4112 of file menu.c.

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

Referenced by ProcessKey().

Here is the call graph for this function:

cOsdObject * cReplayControl::GetInfo ( void   )  [virtual]

Reimplemented from cControl.

Definition at line 4130 of file menu.c.

References cRecordings::GetByName(), LastReplayed(), and Recordings.

Here is the call graph for this function:

eOSState cReplayControl::ProcessKey ( eKeys  Key  )  [virtual]

Reimplemented from cOsdObject.

Definition at line 4138 of file menu.c.

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

Referenced by cRecordControls::PauseLiveVideo().

Here is the call graph for this function:

void cReplayControl::Show ( void   )  [virtual]

Reimplemented from cOsdObject.

Definition at line 3875 of file menu.c.

References ShowTimed().

Referenced by ProcessKey(), and TimeSearch().

Here is the call graph for this function:

void cReplayControl::Hide ( void   )  [virtual]

Implements cControl.

Definition at line 3880 of file menu.c.

References displayReplay, lastForward, lastPlay, lastSpeed, modeOnly, cOsdObject::needsFastResponse, timeSearchActive, and visible.

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

bool cReplayControl::Visible ( void   )  [inline]

Definition at line 253 of file menu.h.

References visible.

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

Definition at line 3839 of file menu.c.

References fileName, and title.

Referenced by cSVDRP::CmdPLAY(), cRecordControl::cRecordControl(), cRecordControls::PauseLiveVideo(), and cMenuRecordings::Play().

const char * cReplayControl::NowReplaying ( void   )  [static]

Definition at line 3847 of file menu.c.

References currentReplayControl, and fileName.

Referenced by SetTrackDescriptions().

const char * cReplayControl::LastReplayed ( void   )  [static]

Definition at line 3852 of file menu.c.

References fileName.

Referenced by cMenuRecordings::cMenuRecordings(), cRecordControl::cRecordControl(), GetInfo(), main(), cMenuMain::ProcessKey(), cMenuRecordings::Set(), and cMenuMain::Update().

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

Definition at line 3857 of file menu.c.

References fileName.

Referenced by cMenuRecordings::Delete().


Member Data Documentation

cSkinDisplayReplay* cReplayControl::displayReplay [private]

Definition at line 223 of file menu.h.

Referenced by cReplayControl(), Hide(), ShowMode(), ShowProgress(), TimeSearchDisplay(), and TimeSearchProcess().

cMarks cReplayControl::marks [private]

Definition at line 224 of file menu.h.

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

bool cReplayControl::visible [private]

Definition at line 225 of file menu.h.

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

bool cReplayControl::modeOnly [private]

Definition at line 225 of file menu.h.

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

bool cReplayControl::shown [private]

Definition at line 225 of file menu.h.

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

bool cReplayControl::displayFrames [private]

Definition at line 225 of file menu.h.

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

int cReplayControl::lastCurrent [private]

Definition at line 226 of file menu.h.

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

int cReplayControl::lastTotal [private]

Definition at line 226 of file menu.h.

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

bool cReplayControl::lastPlay [private]

Definition at line 227 of file menu.h.

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

bool cReplayControl::lastForward [private]

Definition at line 227 of file menu.h.

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

int cReplayControl::lastSpeed [private]

Definition at line 228 of file menu.h.

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

time_t cReplayControl::timeoutShow [private]

Definition at line 229 of file menu.h.

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

bool cReplayControl::timeSearchActive [private]

Definition at line 230 of file menu.h.

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

bool cReplayControl::timeSearchHide [private]

Definition at line 230 of file menu.h.

Referenced by TimeSearch(), and TimeSearchProcess().

int cReplayControl::timeSearchTime [private]

Definition at line 231 of file menu.h.

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

int cReplayControl::timeSearchPos [private]

Definition at line 231 of file menu.h.

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

cReplayControl * cReplayControl::currentReplayControl = NULL [static, private]

Definition at line 236 of file menu.h.

Referenced by cReplayControl(), NowReplaying(), and ~cReplayControl().

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

Definition at line 237 of file menu.h.

Referenced by ClearLastReplayed(), cReplayControl(), EditCut(), LastReplayed(), NowReplaying(), SetRecording(), and ~cReplayControl().

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

Definition at line 238 of file menu.h.

Referenced by SetRecording(), and ShowProgress().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:25:25 2007 for VDR by  doxygen 1.5.3-20071008