vdr  1.7.27
Public Member Functions | Private Attributes
cTimers Class Reference

#include <timers.h>

List of all members.

Public Member Functions

 cTimers (void)
cTimerGetTimer (cTimer *Timer)
cTimerGetMatch (time_t t)
cTimerGetMatch (const cEvent *Event, int *Match=NULL)
cTimerGetNextActiveTimer (void)
int BeingEdited (void)
void IncBeingEdited (void)
void DecBeingEdited (void)
void SetModified (void)
bool Modified (int &State)
void SetEvents (void)
void DeleteExpired (void)
void Add (cTimer *Timer, cTimer *After=NULL)
void Ins (cTimer *Timer, cTimer *Before=NULL)
void Del (cTimer *Timer, bool DeleteObject=true)
 cTimers (void)
cTimerGetTimer (cTimer *Timer)
cTimerGetMatch (time_t t)
cTimerGetMatch (const cEvent *Event, int *Match=NULL)
cTimerGetNextActiveTimer (void)
int BeingEdited (void)
void IncBeingEdited (void)
void DecBeingEdited (void)
void SetModified (void)
bool Modified (int &State)
void SetEvents (void)
void DeleteExpired (void)
void Add (cTimer *Timer, cTimer *After=NULL)
void Ins (cTimer *Timer, cTimer *Before=NULL)
void Del (cTimer *Timer, bool DeleteObject=true)

Private Attributes

int state
int beingEdited
time_t lastSetEvents
time_t lastDeleteExpired

Detailed Description

Definition at line 109 of file include/vdr/timers.h.


Constructor & Destructor Documentation

cTimers::cTimers ( void  )

Definition at line 688 of file timers.c.

References beingEdited, lastDeleteExpired, lastSetEvents, and state.

cTimers::cTimers ( void  )

Member Function Documentation

void cTimers::Add ( cTimer Timer,
cTimer After = NULL 
)
void cTimers::Add ( cTimer Timer,
cTimer After = NULL 
)
int cTimers::BeingEdited ( void  ) [inline]

Definition at line 121 of file timers.h.

References beingEdited.

int cTimers::BeingEdited ( void  ) [inline]

Definition at line 121 of file include/vdr/timers.h.

References beingEdited.

Referenced by cSVDRP::CmdDELT(), cSVDRP::CmdMODT(), cSVDRP::CmdMOVC(), cSVDRP::CmdUPDT(), and main().

void cTimers::DecBeingEdited ( void  ) [inline]

Definition at line 123 of file timers.h.

References beingEdited, and lastSetEvents.

void cTimers::DecBeingEdited ( void  ) [inline]

Definition at line 123 of file include/vdr/timers.h.

References beingEdited, and lastSetEvents.

Referenced by cMenuEditTimer::~cMenuEditTimer(), and cMenuTimers::~cMenuTimers().

void cTimers::Del ( cTimer Timer,
bool  DeleteObject = true 
)
void cTimers::Del ( cTimer Timer,
bool  DeleteObject = true 
)
void cTimers::DeleteExpired ( void  )
void cTimers::DeleteExpired ( void  )
cTimer* cTimers::GetMatch ( time_t  t)
cTimer * cTimers::GetMatch ( time_t  t)
cTimer* cTimers::GetMatch ( const cEvent Event,
int *  Match = NULL 
)
cTimer * cTimers::GetMatch ( const cEvent Event,
int *  Match = NULL 
)

Definition at line 729 of file timers.c.

References cList< cTimer >::First(), cList< cTimer >::Next(), tmFull, and tmNone.

void cTimers::IncBeingEdited ( void  ) [inline]

Definition at line 122 of file timers.h.

References beingEdited.

void cTimers::IncBeingEdited ( void  ) [inline]

Definition at line 122 of file include/vdr/timers.h.

References beingEdited.

Referenced by cMenuEditTimer::cMenuEditTimer(), and cMenuTimers::cMenuTimers().

void cTimers::Ins ( cTimer Timer,
cTimer Before = NULL 
)
void cTimers::Ins ( cTimer Timer,
cTimer Before = NULL 
)

Definition at line 770 of file timers.c.

References cStatus::MsgTimerChange(), and tcAdd.

bool cTimers::Modified ( int &  State)

Returns true if any of the timers have been modified, which is detected by State being different than the internal state.

Upon return the internal state will be stored in State.

Definition at line 782 of file timers.c.

References state.

Referenced by cMenuSchedule::cMenuSchedule(), cMenuWhatsOn::cMenuWhatsOn(), main(), cMenuWhatsOn::Update(), and cMenuSchedule::Update().

bool cTimers::Modified ( int &  State)

Returns true if any of the timers have been modified, which is detected by State being different than the internal state.

Upon return the internal state will be stored in State.

void cTimers::SetEvents ( void  )
void cTimers::SetEvents ( void  )
void cTimers::SetModified ( void  )
void cTimers::SetModified ( void  )

Member Data Documentation

int cTimers::beingEdited [private]

Definition at line 112 of file include/vdr/timers.h.

Referenced by BeingEdited(), cTimers(), DecBeingEdited(), and IncBeingEdited().

time_t cTimers::lastDeleteExpired [private]

Definition at line 114 of file include/vdr/timers.h.

Referenced by cTimers(), and DeleteExpired().

time_t cTimers::lastSetEvents [private]

Definition at line 113 of file include/vdr/timers.h.

Referenced by cTimers(), DecBeingEdited(), and SetEvents().

int cTimers::state [private]

Definition at line 111 of file include/vdr/timers.h.

Referenced by cTimers(), Modified(), and SetModified().


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