vdr  2.2.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
cReplayControl Class Reference

#include <menu.h>

Public Member Functions

 cReplayControl (bool PauseLive=false)
 
virtual ~cReplayControl ()
 
void Stop (void)
 
virtual cOsdObjectGetInfo (void)
 
virtual const cRecordingGetRecording (void)
 
virtual eOSState ProcessKey (eKeys Key)
 
virtual void Show (void)
 
virtual void Hide (void)
 
bool Visible (void)
 
- Public Member Functions inherited from cDvbPlayerControl
 cDvbPlayerControl (const char *FileName, bool PauseLive=false)
 
virtual ~cDvbPlayerControl ()
 
void SetMarks (cMarks *Marks)
 
bool Active (void)
 
void Stop (void)
 
void Pause (void)
 
void Play (void)
 
void Forward (void)
 
void Backward (void)
 
int SkipFrames (int Frames)
 
void SkipSeconds (int Seconds)
 
bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
 
bool GetReplayMode (bool &Play, bool &Forward, int &Speed)
 
void Goto (int Index, bool Still=false)
 
- Public Member Functions inherited from cControl
 cControl (cPlayer *Player, bool Hidden=false)
 
virtual ~cControl ()
 
virtual cString GetHeader (void)
 
double FramesPerSecond (void)
 
bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
 
bool GetReplayMode (bool &Play, bool &Forward, int &Speed)
 
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
 
virtual ~cOsdObject ()
 
virtual bool NeedsFastResponse (void)
 
bool IsMenu (void) const
 

Static Public Member Functions

static void SetRecording (const char *FileName)
 
static const char * NowReplaying (void)
 
static const char * LastReplayed (void)
 
static void ClearLastReplayed (const char *FileName)
 
- Static Public Member Functions inherited from cControl
static void Launch (cControl *Control)
 
static void Attach (void)
 
static void Shutdown (void)
 
static cControlControl (bool Hidden=false)
 

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 (int Frames, bool MarkRequired)
 
void EditCut (void)
 
void EditTest (void)
 

Private Attributes

cSkinDisplayReplaydisplayReplay
 
cAdaptiveSkipper adaptiveSkipper
 
cMarks marks
 
bool marksModified
 
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 cString fileName
 

Additional Inherited Members

- Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
 
- Protected Attributes inherited from cControl
cPlayerplayer
 

Detailed Description

Definition at line 286 of file menu.h.

Constructor & Destructor Documentation

cReplayControl::cReplayControl ( bool  PauseLive = false)
cReplayControl::~cReplayControl ( )
virtual

Member Function Documentation

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

Definition at line 5469 of file menu.c.

References fileName.

Referenced by cMenuRecordings::Delete(), and Stop().

void cReplayControl::EditCut ( void  )
private
void cReplayControl::EditTest ( void  )
private
cOsdObject * cReplayControl::GetInfo ( void  )
virtual

Returns an OSD object that displays information about the currently played programme.

If no such information is available, NULL will be returned.

Reimplemented from cControl.

Definition at line 5793 of file menu.c.

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

const cRecording * cReplayControl::GetRecording ( void  )
virtual

Returns the cRecording that is currently being replayed, or NULL if this player is not playing a cRecording.

Reimplemented from cControl.

Definition at line 5801 of file menu.c.

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

void cReplayControl::Hide ( void  )
virtual
const char * cReplayControl::LastReplayed ( void  )
static
void cReplayControl::MarkJump ( bool  Forward)
private
void cReplayControl::MarkMove ( int  Frames,
bool  MarkRequired 
)
private
void cReplayControl::MarkToggle ( void  )
private
const char * cReplayControl::NowReplaying ( void  )
static
eOSState cReplayControl::ProcessKey ( eKeys  Key)
virtual
void cReplayControl::SetRecording ( const char *  FileName)
static
void cReplayControl::Show ( void  )
virtual

Reimplemented from cOsdObject.

Definition at line 5487 of file menu.c.

References ShowTimed().

Referenced by ProcessKey(), and TimeSearch().

void cReplayControl::ShowMode ( void  )
private
bool cReplayControl::ShowProgress ( bool  Initial)
private
void cReplayControl::ShowTimed ( int  Seconds = 0)
private

Definition at line 5475 of file menu.c.

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

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

void cReplayControl::Stop ( void  )
void cReplayControl::TimeSearch ( void  )
private
void cReplayControl::TimeSearchDisplay ( void  )
private

Definition at line 5577 of file menu.c.

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

Referenced by TimeSearch(), and TimeSearchProcess().

void cReplayControl::TimeSearchProcess ( eKeys  Key)
private
bool cReplayControl::Visible ( void  )
inline

Definition at line 321 of file menu.h.

Member Data Documentation

cAdaptiveSkipper cReplayControl::adaptiveSkipper
private

Definition at line 289 of file menu.h.

Referenced by cReplayControl(), and ProcessKey().

cReplayControl * cReplayControl::currentReplayControl = NULL
staticprivate

Definition at line 303 of file menu.h.

Referenced by cReplayControl(), cAdaptiveSkipper::GetValue(), NowReplaying(), and ~cReplayControl().

bool cReplayControl::displayFrames
private

Definition at line 292 of file menu.h.

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

cSkinDisplayReplay* cReplayControl::displayReplay
private
cString cReplayControl::fileName
staticprivate
int cReplayControl::lastCurrent
private

Definition at line 293 of file menu.h.

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

bool cReplayControl::lastForward
private

Definition at line 294 of file menu.h.

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

bool cReplayControl::lastPlay
private

Definition at line 294 of file menu.h.

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

int cReplayControl::lastSpeed
private

Definition at line 295 of file menu.h.

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

int cReplayControl::lastTotal
private

Definition at line 293 of file menu.h.

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

cMarks cReplayControl::marks
private
bool cReplayControl::marksModified
private

Definition at line 291 of file menu.h.

Referenced by cReplayControl(), Hide(), MarkMove(), MarkToggle(), and ProcessKey().

bool cReplayControl::modeOnly
private

Definition at line 292 of file menu.h.

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

bool cReplayControl::shown
private

Definition at line 292 of file menu.h.

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

time_t cReplayControl::timeoutShow
private

Definition at line 296 of file menu.h.

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

bool cReplayControl::timeSearchActive
private

Definition at line 297 of file menu.h.

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

bool cReplayControl::timeSearchHide
private

Definition at line 297 of file menu.h.

Referenced by TimeSearch(), and TimeSearchProcess().

int cReplayControl::timeSearchPos
private

Definition at line 298 of file menu.h.

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

int cReplayControl::timeSearchTime
private

Definition at line 298 of file menu.h.

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

bool cReplayControl::visible
private

Definition at line 292 of file menu.h.

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


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