vdr
1.7.31
|
#include <menu.h>
Public Member Functions | |
cReplayControl (bool PauseLive=false) | |
virtual | ~cReplayControl () |
void | Stop (void) |
virtual cOsdObject * | GetInfo (void) |
virtual const cRecording * | GetRecording (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 cOsdObject * | GetInfo (void) |
virtual const cRecording * | GetRecording (void) |
virtual eOSState | ProcessKey (eKeys Key) |
virtual void | Show (void) |
virtual void | Hide (void) |
bool | Visible (void) |
![]() | |
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) |
![]() | |
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) |
![]() | |
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 | |
cSkinDisplayReplay * | displayReplay |
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 cReplayControl * | currentReplayControl = NULL |
static cString | fileName |
Additional Inherited Members | |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
![]() | |
cPlayer * | player |
Definition at line 261 of file include/vdr/menu.h.
cReplayControl::cReplayControl | ( | bool | PauseLive = false | ) |
Definition at line 4895 of file menu.c.
References currentReplayControl, displayFrames, displayReplay, cRecording::FileName(), fileName, cRecording::FramesPerSecond(), cRecording::IsPesRecording(), kNone, lastCurrent, lastForward, lastPlay, lastSkipKey, lastSkipSeconds, lastSkipTimeout, lastSpeed, lastTotal, cMarks::Load(), marks, marksModified, modeOnly, cStatus::MsgReplaying(), cRecording::Name(), REPLAYCONTROLSKIPSECONDS, cTimeMs::Set(), SetTrackDescriptions(), shown, timeoutShow, timeSearchActive, and visible.
|
virtual |
Definition at line 4916 of file menu.c.
References currentReplayControl, fileName, Hide(), marks, marksModified, cStatus::MsgReplaying(), cConfig< T >::Save(), and Stop().
cReplayControl::cReplayControl | ( | bool | PauseLive = false | ) |
|
virtual |
|
static |
Definition at line 4976 of file menu.c.
References fileName.
Referenced by cMenuRecordings::Delete(), and Stop().
|
static |
|
private |
|
private |
Definition at line 5233 of file menu.c.
References cCutter::Active(), cListBase::Count(), fileName, Hide(), marks, marksModified, cSkins::Message(), mtError, mtInfo, cConfig< T >::Save(), ShowMode(), Skins, cCutter::Start(), and tr.
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 5255 of file menu.c.
References cControl::FramesPerSecond(), cMarks::Get(), cDvbPlayerControl::GetIndex(), cMarks::GetNext(), cDvbPlayerControl::Goto(), cListObject::Index(), marks, cList< T >::Next(), cDvbPlayerControl::Play(), cSetup::PlayJump, cMark::Position(), SecondsToFrames(), and Setup.
Referenced by ProcessKey().
|
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.
|
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 |
Returns the cRecording that is currently being replayed, or NULL if this player is not playing a cRecording.
Reimplemented from cControl.
|
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.
|
virtual |
Implements cControl.
Definition at line 4999 of file menu.c.
References displayReplay, lastForward, lastPlay, lastSpeed, modeOnly, cOsdObject::SetNeedsFastResponse(), timeoutShow, timeSearchActive, and visible.
Referenced by EditCut(), ProcessKey(), ShowTimed(), TimeSearch(), TimeSearchProcess(), and ~cReplayControl().
|
virtual |
Implements cControl.
|
static |
|
static |
Definition at line 4971 of file menu.c.
References fileName.
Referenced by cMenuRecordings::cMenuRecordings(), cRecordControl::cRecordControl(), GetInfo(), GetRecording(), main(), cMenuMain::ProcessKey(), cMenuRecordings::Set(), and cMenuMain::Update().
|
private |
Definition at line 5186 of file menu.c.
References cListBase::Count(), displayFrames, cControl::FramesPerSecond(), cDvbPlayerControl::GetIndex(), cMarks::GetNext(), cMarks::GetPrev(), cDvbPlayerControl::GetReplayMode(), cDvbPlayerControl::Goto(), cSetup::JumpPlay, marks, cDvbPlayerControl::Play(), cMark::Position(), SecondsToFrames(), and Setup.
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 5209 of file menu.c.
References displayFrames, cMarks::Get(), cDvbPlayerControl::GetIndex(), cDvbPlayerControl::Goto(), marks, marksModified, cList< T >::Next(), cMark::Position(), cList< T >::Prev(), cMark::SetPosition(), and cDvbPlayerControl::SkipFrames().
Referenced by ProcessKey().
|
private |
|
private |
Definition at line 5166 of file menu.c.
References cMarks::Add(), cListBase::Del(), cDvbPlayerControl::Forward(), cMarks::Get(), cDvbPlayerControl::GetIndex(), cDvbPlayerControl::GetReplayMode(), cDvbPlayerControl::Goto(), lastCurrent, marks, marksModified, cDvbPlayerControl::Play(), and ShowTimed().
Referenced by ProcessKey().
|
private |
|
static |
|
static |
Definition at line 4966 of file menu.c.
References currentReplayControl, and fileName.
Referenced by cMenuRecordings::Delete(), SetTrackDescriptions(), and cCutter::Stop().
Reimplemented from cOsdObject.
Reimplemented from cOsdObject.
Definition at line 5288 of file menu.c.
References cDvbPlayerControl::Active(), cDvbPlayerControl::Backward(), cSetup::DelTimeshiftRec, displayFrames, EditCut(), EditTest(), fileName, cDvbPlayerControl::Forward(), cRecordControls::GetRecordControl(), Hide(), cRecordControl::InstantId(), k1, k3, 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, lastSkipKey, lastSkipSeconds, lastSkipTimeout, MarkJump(), MarkMove(), marks, MarkToggle(), modeOnly, cSetup::MultiSpeedMode, osContinue, osEnd, osRecordings, osUnknown, cDvbPlayerControl::Pause(), cDvbPlayerControl::Play(), RAWKEY, REPLAYCONTROLSKIPLIMIT, REPLAYCONTROLSKIPSECONDS, REPLAYCONTROLSKIPTIMEOUT, cTimeMs::Set(), Setup, Show(), ShowMode(), shown, ShowProgress(), cDvbPlayerControl::SkipSeconds(), Stop(), cTimeMs::TimedOut(), timeoutShow, TimeSearch(), timeSearchActive, TimeSearchProcess(), cMarks::Update(), and visible.
|
static |
Definition at line 4961 of file menu.c.
References fileName.
Referenced by cSVDRP::CmdPLAY(), cRecordControl::cRecordControl(), cRecordControls::PauseLiveVideo(), and cMenuRecordings::Play().
|
static |
|
virtual |
Reimplemented from cOsdObject.
Definition at line 4994 of file menu.c.
References ShowTimed().
Referenced by ProcessKey(), and TimeSearch().
|
virtual |
Reimplemented from cOsdObject.
|
private |
Definition at line 5014 of file menu.c.
References cSkins::Current(), displayReplay, cSkin::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().
|
private |
|
private |
Definition at line 5039 of file menu.c.
References cSkins::Current(), displayFrames, displayReplay, cSkin::DisplayReplay(), fileName, cSkinDisplay::Flush(), cControl::FramesPerSecond(), cRecordings::GetByName(), cDvbPlayerControl::GetIndex(), IndexToHMSF(), lastCurrent, lastTotal, marks, modeOnly, Recordings, cSkinDisplayReplay::SetCurrent(), cSkinDisplayReplay::SetMarks(), cOsdObject::SetNeedsFastResponse(), cSkinDisplayReplay::SetProgress(), cSkinDisplayReplay::SetRecording(), cSkinDisplayReplay::SetTotal(), Setup, ShowMode(), cSetup::ShowRemainingTime, Skins, and visible.
Referenced by ProcessKey(), and ShowTimed().
|
private |
|
private |
Definition at line 4982 of file menu.c.
References Hide(), modeOnly, shown, ShowProgress(), timeoutShow, and visible.
Referenced by MarkToggle(), and Show().
|
private |
void cReplayControl::Stop | ( | void | ) |
Reimplemented from cDvbPlayerControl.
void cReplayControl::Stop | ( | void | ) |
Reimplemented from cDvbPlayerControl.
Definition at line 4929 of file menu.c.
References cDvbPlayerControl::Active(), ClearLastReplayed(), cInterface::Confirm(), cTimers::Del(), cRecordings::DelByName(), cRecording::Delete(), cSetup::DelTimeshiftRec, fileName, cRecordings::GetByName(), cRecordControls::GetRecordControl(), cRecordControl::InstantId(), Interface, isyslog, cSkins::Message(), mtError, Recordings, cTimers::SetModified(), Setup, Skins, cRecordControl::Stop(), cRecordControl::Timer(), Timers, cTimer::ToDescr(), and tr.
Referenced by ProcessKey(), and ~cReplayControl().
|
private |
Definition at line 5148 of file menu.c.
References Hide(), modeOnly, Show(), timeoutShow, timeSearchActive, TimeSearchDisplay(), timeSearchHide, timeSearchPos, timeSearchTime, and visible.
Referenced by ProcessKey().
|
private |
|
private |
|
private |
Definition at line 5080 of file menu.c.
References displayReplay, cSkinDisplayReplay::SetJump(), timeSearchPos, timeSearchTime, and tr.
Referenced by TimeSearch(), and TimeSearchProcess().
|
private |
Definition at line 5098 of file menu.c.
References displayReplay, cControl::FramesPerSecond(), cDvbPlayerControl::Goto(), Hide(), k0, k9, k_Flags, kDown, kFastFwd, kFastRew, kLeft, kOk, kPause, kPlay, kRight, kUp, lastCurrent, lastTotal, min(), SecondsToFrames(), cSkinDisplayReplay::SetJump(), ShowMode(), cDvbPlayerControl::SkipSeconds(), STAY_SECONDS_OFF_END, timeSearchActive, TimeSearchDisplay(), timeSearchHide, timeSearchPos, and timeSearchTime.
Referenced by ProcessKey().
|
private |
|
inline |
|
inline |
Definition at line 298 of file include/vdr/menu.h.
References visible.
|
staticprivate |
Definition at line 280 of file include/vdr/menu.h.
Referenced by cReplayControl(), NowReplaying(), and ~cReplayControl().
|
private |
Definition at line 266 of file include/vdr/menu.h.
Referenced by cReplayControl(), MarkJump(), MarkMove(), ProcessKey(), and ShowProgress().
|
private |
Definition at line 263 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), ShowMode(), ShowProgress(), TimeSearchDisplay(), and TimeSearchProcess().
|
staticprivate |
Definition at line 281 of file include/vdr/menu.h.
Referenced by ClearLastReplayed(), cReplayControl(), EditCut(), LastReplayed(), NowReplaying(), ProcessKey(), SetRecording(), ShowProgress(), Stop(), and ~cReplayControl().
|
private |
Definition at line 267 of file include/vdr/menu.h.
Referenced by cReplayControl(), MarkToggle(), ShowProgress(), and TimeSearchProcess().
|
private |
Definition at line 268 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), and ShowMode().
|
private |
Definition at line 268 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), and ShowMode().
|
private |
Definition at line 271 of file include/vdr/menu.h.
Referenced by cReplayControl(), and ProcessKey().
|
private |
Definition at line 270 of file include/vdr/menu.h.
Referenced by cReplayControl(), and ProcessKey().
|
private |
Definition at line 272 of file include/vdr/menu.h.
Referenced by cReplayControl(), and ProcessKey().
|
private |
Definition at line 269 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), and ShowMode().
|
private |
Definition at line 267 of file include/vdr/menu.h.
Referenced by cReplayControl(), ShowProgress(), and TimeSearchProcess().
|
private |
Definition at line 264 of file include/vdr/menu.h.
Referenced by cReplayControl(), EditCut(), EditTest(), MarkJump(), MarkMove(), MarkToggle(), ProcessKey(), ShowProgress(), and ~cReplayControl().
|
private |
Definition at line 265 of file include/vdr/menu.h.
Referenced by cReplayControl(), EditCut(), MarkMove(), MarkToggle(), and ~cReplayControl().
|
private |
Definition at line 266 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), ProcessKey(), ShowMode(), ShowProgress(), ShowTimed(), and TimeSearch().
|
private |
Definition at line 266 of file include/vdr/menu.h.
Referenced by cReplayControl(), ProcessKey(), and ShowTimed().
|
private |
Definition at line 273 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), ProcessKey(), ShowMode(), ShowTimed(), and TimeSearch().
|
private |
Definition at line 274 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), ProcessKey(), TimeSearch(), and TimeSearchProcess().
|
private |
Definition at line 274 of file include/vdr/menu.h.
Referenced by TimeSearch(), and TimeSearchProcess().
|
private |
Definition at line 275 of file include/vdr/menu.h.
Referenced by TimeSearch(), TimeSearchDisplay(), and TimeSearchProcess().
|
private |
Definition at line 275 of file include/vdr/menu.h.
Referenced by TimeSearch(), TimeSearchDisplay(), and TimeSearchProcess().
|
private |
Definition at line 266 of file include/vdr/menu.h.
Referenced by cReplayControl(), Hide(), ProcessKey(), ShowMode(), ShowProgress(), ShowTimed(), TimeSearch(), and Visible().