vdr  1.7.31
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)
 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 ()
bool Active (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)
 cDvbPlayerControl (const char *FileName, bool PauseLive=false)
virtual ~cDvbPlayerControl ()
bool Active (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)
 cControl (cPlayer *Player, bool Hidden=false)
virtual ~cControl ()
virtual cString GetHeader (void)
double FramesPerSecond (void)
- Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
virtual ~cOsdObject ()
virtual bool NeedsFastResponse (void)
bool IsMenu (void) const
 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 void SetRecording (const char *FileName)
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)
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 marksModified
bool visible
bool modeOnly
bool shown
bool displayFrames
int lastCurrent
int lastTotal
bool lastPlay
bool lastForward
int lastSpeed
int lastSkipSeconds
eKeys lastSkipKey
cTimeMs lastSkipTimeout
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)
void SetNeedsFastResponse (bool NeedsFastResponse)
- Protected Attributes inherited from cControl
cPlayerplayer

Detailed Description

Definition at line 261 of file include/vdr/menu.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 4976 of file menu.c.

References fileName.

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

static void cReplayControl::ClearLastReplayed ( const char *  FileName)
static
void cReplayControl::EditCut ( void  )
private
void cReplayControl::EditCut ( void  )
private
void cReplayControl::EditTest ( void  )
private
void cReplayControl::EditTest ( void  )
private
virtual 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.

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 5273 of file menu.c.

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

virtual 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.

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 5281 of file menu.c.

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

void cReplayControl::Hide ( void  )
virtual
virtual void cReplayControl::Hide ( void  )
virtual

Implements cControl.

static const char* cReplayControl::LastReplayed ( void  )
static
const char * cReplayControl::LastReplayed ( void  )
static
void cReplayControl::MarkJump ( bool  Forward)
private
void cReplayControl::MarkJump ( bool  Forward)
private
void cReplayControl::MarkMove ( bool  Forward)
private
void cReplayControl::MarkMove ( bool  Forward)
private
void cReplayControl::MarkToggle ( void  )
private
void cReplayControl::MarkToggle ( void  )
private
static const char* cReplayControl::NowReplaying ( void  )
static
const char * cReplayControl::NowReplaying ( void  )
static

Definition at line 4966 of file menu.c.

References currentReplayControl, and fileName.

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

virtual eOSState cReplayControl::ProcessKey ( eKeys  Key)
virtual

Reimplemented from cOsdObject.

eOSState cReplayControl::ProcessKey ( eKeys  Key)
virtual
void cReplayControl::SetRecording ( const char *  FileName)
static
static void cReplayControl::SetRecording ( const char *  FileName)
static
void cReplayControl::Show ( void  )
virtual

Reimplemented from cOsdObject.

Definition at line 4994 of file menu.c.

References ShowTimed().

Referenced by ProcessKey(), and TimeSearch().

virtual void cReplayControl::Show ( void  )
virtual

Reimplemented from cOsdObject.

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

Definition at line 4982 of file menu.c.

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

Referenced by MarkToggle(), and Show().

void cReplayControl::ShowTimed ( int  Seconds = 0)
private
void cReplayControl::Stop ( void  )

Reimplemented from cDvbPlayerControl.

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

Definition at line 5080 of file menu.c.

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

Referenced by TimeSearch(), and TimeSearchProcess().

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

Definition at line 298 of file menu.h.

References visible.

bool cReplayControl::Visible ( void  )
inline

Definition at line 298 of file include/vdr/menu.h.

References visible.

Member Data Documentation

static cReplayControl * cReplayControl::currentReplayControl = NULL
staticprivate

Definition at line 280 of file include/vdr/menu.h.

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

bool cReplayControl::displayFrames
private

Definition at line 266 of file include/vdr/menu.h.

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

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

Definition at line 267 of file include/vdr/menu.h.

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

bool cReplayControl::lastForward
private

Definition at line 268 of file include/vdr/menu.h.

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

bool cReplayControl::lastPlay
private

Definition at line 268 of file include/vdr/menu.h.

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

eKeys cReplayControl::lastSkipKey
private

Definition at line 271 of file include/vdr/menu.h.

Referenced by cReplayControl(), and ProcessKey().

int cReplayControl::lastSkipSeconds
private

Definition at line 270 of file include/vdr/menu.h.

Referenced by cReplayControl(), and ProcessKey().

cTimeMs cReplayControl::lastSkipTimeout
private

Definition at line 272 of file include/vdr/menu.h.

Referenced by cReplayControl(), and ProcessKey().

int cReplayControl::lastSpeed
private

Definition at line 269 of file include/vdr/menu.h.

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

int cReplayControl::lastTotal
private

Definition at line 267 of file include/vdr/menu.h.

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

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

Definition at line 265 of file include/vdr/menu.h.

Referenced by cReplayControl(), EditCut(), MarkMove(), MarkToggle(), and ~cReplayControl().

bool cReplayControl::modeOnly
private
bool cReplayControl::shown
private

Definition at line 266 of file include/vdr/menu.h.

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

time_t cReplayControl::timeoutShow
private

Definition at line 273 of file include/vdr/menu.h.

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

bool cReplayControl::timeSearchActive
private

Definition at line 274 of file include/vdr/menu.h.

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

bool cReplayControl::timeSearchHide
private

Definition at line 274 of file include/vdr/menu.h.

Referenced by TimeSearch(), and TimeSearchProcess().

int cReplayControl::timeSearchPos
private

Definition at line 275 of file include/vdr/menu.h.

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

int cReplayControl::timeSearchTime
private

Definition at line 275 of file include/vdr/menu.h.

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

bool cReplayControl::visible
private

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