vdr 2.7.4
|
#include <timers.h>
Public Member Functions | |
cTimer (bool Instant=false, bool Pause=false, const cChannel *Channel=NULL) | |
cTimer (const cEvent *Event, const char *FileName=NULL, const cTimer *PatternTimer=NULL) | |
cTimer (const cTimer &Timer) | |
virtual | ~cTimer () |
cTimer & | operator= (const cTimer &Timer) |
void | CalcMargins (int &MarginStart, int &MarginStop, const cEvent *Event) |
virtual int | Compare (const cListObject &ListObject) const |
int | Id (void) const |
bool | Recording (void) const |
bool | Pending (void) const |
bool | InVpsMargin (void) const |
uint | Flags (void) const |
const cChannel * | Channel (void) const |
time_t | Day (void) const |
int | WeekDays (void) const |
int | Start (void) const |
int | Stop (void) const |
int | Priority (void) const |
int | Lifetime (void) const |
const char * | Pattern (void) const |
const char * | File (void) const |
time_t | FirstDay (void) const |
const char * | Aux (void) const |
const char * | Remote (void) const |
bool | Local (void) const |
time_t | Deferred (void) const |
cString | PatternAndFile (void) const |
cString | ToText (bool UseChannelID=false) const |
cString | ToDescr (void) const |
const cEvent * | Event (void) const |
bool | Parse (const char *s) |
bool | Save (FILE *f) |
bool | IsSingleEvent (void) const |
bool | DayMatches (time_t t) const |
void | SetPattern (const char *Pattern) |
void | SetFile (const char *File) |
bool | IsPatternTimer (void) const |
bool | Matches (time_t t=0, bool Directly=false, int Margin=0) const |
eTimerMatch | Matches (const cEvent *Event, int *Overlap=NULL) const |
bool | Expired (void) const |
time_t | StartTime (void) const |
time_t | StopTime (void) const |
time_t | StartTimeEvent (void) const |
time_t | StopTimeEvent (void) const |
void | SetId (int Id) |
cTimer * | SpawnPatternTimer (const cEvent *Event, cTimers *Timers) |
bool | SpawnPatternTimers (const cSchedules *Schedules, cTimers *Timers) |
bool | AdjustSpawnedTimer (void) |
void | TriggerRespawn (void) |
bool | SetEventFromSchedule (const cSchedules *Schedules) |
bool | SetEvent (const cEvent *Event) |
void | SetRecording (bool Recording) |
void | SetPending (bool Pending) |
void | SetInVpsMargin (bool InVpsMargin) |
void | SetDay (time_t Day) |
void | SetWeekDays (int WeekDays) |
void | SetStart (int Start) |
void | SetStop (int Stop) |
void | SetPriority (int Priority) |
void | SetLifetime (int Lifetime) |
void | SetAux (const char *Aux) |
void | SetRemote (const char *Remote) |
void | SetDeferred (int Seconds) |
void | SetFlags (uint Flags) |
void | ClrFlags (uint Flags) |
void | InvFlags (uint Flags) |
bool | HasFlags (uint Flags) const |
void | Skip (void) |
void | OnOff (void) |
cString | PrintFirstDay (void) const |
![]() | |
cListObject (void) | |
virtual | ~cListObject () |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Static Public Member Functions | |
static int | GetMDay (time_t t) |
static int | GetWDay (time_t t) |
static time_t | IncDay (time_t t, int Days) |
static time_t | SetTime (time_t t, int SecondsFromMidnight) |
static int | TimeToInt (int t) |
static bool | ParseDay (const char *s, time_t &Day, int &WeekDays) |
static cString | PrintDay (time_t Day, int WeekDays, bool SingleByteChars) |
Private Attributes | |
int | id |
time_t | startTime |
time_t | stopTime |
int | scheduleStateSet |
int | scheduleStateSpawn |
int | scheduleStateAdjust |
time_t | deferred |
time_t | vpsNotRunning |
bool | vpsActive |
bool | pending |
bool | inVpsMargin |
uint | flags |
const cChannel * | channel |
time_t | day |
int | weekdays |
int | start |
int | stop |
int | priority |
int | lifetime |
char | pattern [NAME_MAX *2+1] |
char | file [NAME_MAX *2+1] |
char * | aux |
char * | remote |
const cEvent * | event |
Friends | |
class | cMenuEditTimer |
cTimer::cTimer | ( | bool | Instant = false, |
bool | Pause = false, | ||
const cChannel * | Channel = NULL ) |
Definition at line 28 of file timers.c.
References aux, CalcMargins(), Channel(), channel, cDevice::CurrentChannel(), day, deferred, DEFINSTRECTIME, Event(), file, flags, inVpsMargin, lifetime, LOCK_CHANNELS_READ, LOCK_SCHEDULES_READ, pattern, pending, priority, remote, scheduleStateAdjust, scheduleStateSet, scheduleStateSpawn, SetEvent(), SetFlags(), SetTime(), Setup, start, startTime, stop, stopTime, tfActive, tfInstant, tfNone, tfVps, vpsActive, vpsNotRunning, and weekdays.
Referenced by Compare(), cTimer(), cTimer(), operator=(), SpawnPatternTimer(), and SpawnPatternTimers().
cTimer::cTimer | ( | const cEvent * | Event, |
const char * | FileName = NULL, | ||
const cTimer * | PatternTimer = NULL ) |
Definition at line 180 of file timers.c.
References aux, CalcMargins(), channel, cTimer(), day, deferred, Event(), file, flags, HasFlags(), inVpsMargin, isempty(), Lifetime(), lifetime, LOCK_CHANNELS_READ, pattern, pending, Priority(), priority, remote, scheduleStateAdjust, scheduleStateSet, scheduleStateSpawn, SetEvent(), SetFlags(), SetTime(), Setup, start, startTime, stop, stopTime, tfActive, tfSpawned, tfVps, Utf8Strn0Cpy(), vpsActive, vpsNotRunning, and weekdays.
cTimer::cTimer | ( | const cTimer & | Timer | ) |
|
virtual |
bool cTimer::AdjustSpawnedTimer | ( | void | ) |
Definition at line 873 of file timers.c.
References CalcMargins(), cEvent::EndTime(), Event(), isyslog, Matches(), scheduleStateAdjust, SetDay(), SetStart(), SetStop(), SetTime(), cEvent::StartTime(), StartTime(), StopTime(), TimeString(), and ToDescr().
|
inline |
Definition at line 79 of file timers.h.
References aux.
Referenced by cRecording::cRecording(), and SetAux().
void cTimer::CalcMargins | ( | int & | MarginStart, |
int & | MarginStop, | ||
const cEvent * | Event ) |
|
inline |
Definition at line 69 of file timers.h.
References channel.
Referenced by cRecording::cRecording(), cTimer(), cShutdownHandler::DoShutdown(), cSkinLCARSDisplayMenu::DrawTimer(), Expired(), cTimers::GetTimer(), SetEventFromSchedule(), SpawnPatternTimers(), cRecordControls::Start(), ToDescr(), ToText(), and TriggerRespawn().
void cTimer::ClrFlags | ( | uint | Flags | ) |
Definition at line 1065 of file timers.c.
References Flags(), and flags.
Referenced by cSVDRPServer::CmdMODT(), cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdUPDT(), HandleRemoteTimerModifications(), OnOff(), and SetRecording().
|
virtual |
Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".
Reimplemented from cListObject.
Definition at line 297 of file timers.c.
References cListObject::cListObject(), cTimer(), IsPatternTimer(), Pattern(), priority, and StartTime().
|
inline |
Definition at line 70 of file timers.h.
References day.
Referenced by cTimers::GetTimer(), ParseDay(), PrintDay(), and SetDay().
bool cTimer::DayMatches | ( | time_t | t | ) | const |
|
inline |
|
inline |
Definition at line 86 of file timers.h.
References event.
Referenced by AdjustSpawnedTimer(), CalcMargins(), cTimer(), cTimer(), cSkinLCARSDisplayMenu::DrawTimer(), cMenuTimers::Info(), Matches(), SetEvent(), SetEventFromSchedule(), and SpawnPatternTimer().
bool cTimer::Expired | ( | void | ) | const |
Definition at line 731 of file timers.c.
References Channel(), dsyslog, event, cSchedule::Events(), EXPIRELATENCY, cList< T >::First(), HasFlags(), IsSingleEvent(), LOCK_SCHEDULES_READ, cList< T >::Next(), cListObject::Next(), Recording(), startTime, StopTimeEvent(), tfVps, cEvent::ToDescr(), and ToDescr().
Referenced by cTimers::DeleteExpired().
|
inline |
Definition at line 77 of file timers.h.
References file.
Referenced by cRecording::cRecording(), cShutdownHandler::DoShutdown(), Matches(), SetFile(), and SpawnPatternTimer().
|
inline |
Definition at line 78 of file timers.h.
Referenced by cMenuTimers::OnOff().
|
inline |
Definition at line 68 of file timers.h.
References flags.
Referenced by ClrFlags(), cSkinLCARSDisplayMenu::DrawTimer(), HasFlags(), InvFlags(), and SetFlags().
|
static |
Definition at line 518 of file timers.c.
Referenced by ParseDay().
|
static |
Definition at line 524 of file timers.c.
Referenced by DayMatches(), and cMenuEditDateItem::ToggleRepeating().
bool cTimer::HasFlags | ( | uint | Flags | ) | const |
Definition at line 1075 of file timers.c.
References Flags(), and flags.
Referenced by CalcMargins(), cTimer(), Expired(), Matches(), Matches(), cMenuTimers::OnOff(), OnOff(), Recording(), SetEventFromSchedule(), SpawnPatternTimers(), StartTimeEvent(), StopTimeEvent(), ToDescr(), TriggerRespawn(), and cMenuScheduleItem::Update().
|
inline |
Definition at line 64 of file timers.h.
References id.
Referenced by cSVDRPServer::CmdLSTT(), cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdUPDT(), HandleRemoteTimerModifications(), cMenuTimers::OnOff(), RecordingInUseMessage(), RemoteTimerError(), RemoteTimerError(), cMenuTimers::Set(), SetId(), and ToDescr().
|
static |
Definition at line 536 of file timers.c.
Referenced by Matches(), ParseDay(), and Skip().
void cTimer::InvFlags | ( | uint | Flags | ) |
|
inline |
|
inline |
Definition at line 97 of file timers.h.
References pattern.
Referenced by cSVDRPServer::CmdMODT(), Compare(), cTimers::GetMatch(), Matches(), Matches(), OnOff(), PatternAndFile(), SetEventFromSchedule(), and TriggerRespawn().
bool cTimer::IsSingleEvent | ( | void | ) | const |
Definition at line 513 of file timers.c.
References weekdays.
Referenced by cRecording::cRecording(), DayMatches(), Expired(), Matches(), and OnOff().
|
inline |
Definition at line 75 of file timers.h.
References lifetime.
Referenced by cRecording::cRecording(), cTimer(), and SetLifetime().
|
inline |
Definition at line 81 of file timers.h.
References remote.
Referenced by HandleRemoteTimerModifications(), and TriggerRespawn().
eTimerMatch cTimer::Matches | ( | const cEvent * | Event, |
int * | Overlap = NULL ) const |
Definition at line 675 of file timers.c.
References channel, DoneRecordingsPattern, Event(), File(), FOLDERDELIMCHAR, FULLMATCH, HasFlags(), IsPatternTimer(), MakePatternFileName(), Matches(), MatchPattern(), max(), min(), Pattern(), SI::RunningStatusNotRunning, startswith(), StartTime(), startTime, stopTime, strgetlast(), tfVps, TIMERPATTERN_AVOID, tmFull, tmNone, and tmPartial.
bool cTimer::Matches | ( | time_t | t = 0, |
bool | Directly = false, | ||
int | Margin = 0 ) const |
Definition at line 573 of file timers.c.
References day, DayMatches(), deferred, dsyslog, EITPRESENTFOLLOWINGGRACE, EITPRESENTFOLLOWINGRATE, esyslog, event, HasFlags(), IncDay(), IsPatternTimer(), IsSingleEvent(), max(), cSchedule::PresentSeenWithin(), Recording(), Remote(), SECSINDAY, SetTime(), Setup, start, startTime, stop, stopTime, tfActive, tfSpawned, tfVps, TimeToInt(), ToDescr(), vpsActive, VPSGRACE, and vpsNotRunning.
Referenced by AdjustSpawnedTimer(), Matches(), OnOff(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), SetEventFromSchedule(), SpawnPatternTimers(), cRecordControls::Start(), StartTime(), and StopTime().
void cTimer::OnOff | ( | void | ) |
Definition at line 1087 of file timers.c.
References ClrFlags(), day, HasFlags(), InvFlags(), IsPatternTimer(), IsSingleEvent(), Matches(), SetEvent(), SetFlags(), Skip(), tfActive, and TriggerRespawn().
Referenced by cMenuTimers::OnOff().
Definition at line 248 of file timers.c.
References aux, channel, cTimer(), day, deferred, event, file, flags, id, cEvent::IncNumTimers(), inVpsMargin, lifetime, pattern, pending, priority, remote, scheduleStateAdjust, scheduleStateSet, scheduleStateSpawn, start, startTime, stop, stopTime, vpsActive, vpsNotRunning, and weekdays.
bool cTimer::Parse | ( | const char * | s | ) |
Definition at line 446 of file timers.c.
References aux, channel, day, esyslog, file, flags, tChannelID::FromString(), isnumber(), lifetime, LOCK_CHANNELS_READ, MALLOC, ParseDay(), pattern, priority, skipspace(), start, stop, strn0cpy(), strreplace(), Utf8Strn0Cpy(), and weekdays.
Referenced by cSVDRPServer::CmdMODT(), cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdUPDT(), and cTimers::StoreRemoteTimers().
|
static |
Definition at line 343 of file timers.c.
References Day(), day, GetMDay(), IncDay(), SetTime(), skipspace(), and WeekDays().
Referenced by Parse(), and ParseWeekDays().
|
inline |
Definition at line 76 of file timers.h.
References pattern.
Referenced by Compare(), Matches(), SetPattern(), and SpawnPatternTimer().
cString cTimer::PatternAndFile | ( | void | ) | const |
Definition at line 316 of file timers.c.
References file, IsPatternTimer(), pattern, and cString::sprintf().
|
inline |
Definition at line 66 of file timers.h.
References pending.
Referenced by cSkinLCARSDisplayMenu::DrawTimer(), SetPending(), and cRecordControls::Start().
|
static |
Definition at line 402 of file timers.c.
References Day(), DAYBUFFERSIZE, tr, trNOOP, Utf8CharLen(), and WeekDays().
Referenced by PrintFirstDay(), cMenuEditDateItem::Set(), and ToText().
cString cTimer::PrintFirstDay | ( | void | ) | const |
Definition at line 436 of file timers.c.
References day, PrintDay(), and weekdays.
Referenced by cMenuTimers::OnOff().
|
inline |
Definition at line 74 of file timers.h.
References priority.
Referenced by cRecording::cRecording(), cTimer(), cTimers::GetMatch(), SetPriority(), and cRecordControls::Start().
|
inline |
Definition at line 65 of file timers.h.
References HasFlags(), and tfRecording.
Referenced by cMenuTimers::Delete(), cSkinLCARSDisplayMenu::DrawTimer(), Expired(), Matches(), SetRecording(), and cMenuScheduleItem::Update().
|
inline |
Definition at line 80 of file timers.h.
References remote.
Referenced by cTimers::Add(), cSVDRPServer::CmdLSTT(), cMenuTimers::Delete(), cTimers::DeleteExpired(), cSkinLCARSDisplayMenu::DrawTimer(), cTimers::GetMatch(), HandleRemoteTimerModifications(), Matches(), cMenuTimers::OnOff(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), RemoteTimerError(), RemoteTimerError(), Save(), cMenuTimers::Set(), SetRemote(), and cTimers::StoreRemoteTimers().
bool cTimer::Save | ( | FILE * | f | ) |
void cTimer::SetAux | ( | const char * | Aux | ) |
void cTimer::SetDay | ( | time_t | Day | ) |
Definition at line 1012 of file timers.c.
Referenced by AdjustSpawnedTimer().
void cTimer::SetDeferred | ( | int | Seconds | ) |
bool cTimer::SetEvent | ( | const cEvent * | Event | ) |
Definition at line 971 of file timers.c.
References Event(), event, isyslog, scheduleStateAdjust, scheduleStateSet, scheduleStateSpawn, and ToDescr().
Referenced by cTimer(), cTimer(), cTimers::DeleteExpired(), OnOff(), SetEventFromSchedule(), and Skip().
bool cTimer::SetEventFromSchedule | ( | const cSchedules * | Schedules | ) |
Definition at line 922 of file timers.c.
References Channel(), EPGLIMITAFTER, EPGLIMITBEFORE, Event(), cSchedule::Events(), cList< T >::First(), FULLMATCH, cSchedules::GetSchedule(), HasFlags(), IsPatternTimer(), Matches(), cSchedule::Modified(), cList< T >::Next(), scheduleStateSet, SetEvent(), StartTime(), StopTime(), tfVps, tmFull, and cEvent::Vps().
Referenced by cMenuTimers::OnOff().
void cTimer::SetFile | ( | const char * | File | ) |
Definition at line 564 of file timers.c.
References File(), file, isempty(), and Utf8Strn0Cpy().
Referenced by cRecording::cRecording().
void cTimer::SetFlags | ( | uint | Flags | ) |
Definition at line 1060 of file timers.c.
References Flags(), and flags.
Referenced by cSVDRPServer::CmdMODT(), cSVDRPServer::CmdUPDT(), cTimer(), cTimer(), OnOff(), SetRecording(), and SpawnPatternTimer().
void cTimer::SetId | ( | int | Id | ) |
Definition at line 810 of file timers.c.
References Id().
Referenced by cTimers::Add(), HandleRemoteTimerModifications(), and cTimers::StoreRemoteTimers().
void cTimer::SetInVpsMargin | ( | bool | InVpsMargin | ) |
Definition at line 1005 of file timers.c.
References InVpsMargin(), inVpsMargin, isyslog, and ToDescr().
void cTimer::SetLifetime | ( | int | Lifetime | ) |
Definition at line 1037 of file timers.c.
References Lifetime(), and lifetime.
void cTimer::SetPattern | ( | const char * | Pattern | ) |
Definition at line 559 of file timers.c.
References Pattern(), pattern, and Utf8Strn0Cpy().
void cTimer::SetPending | ( | bool | Pending | ) |
Definition at line 1000 of file timers.c.
References Pending(), and pending.
Referenced by cRecordControls::Start().
void cTimer::SetPriority | ( | int | Priority | ) |
Definition at line 1032 of file timers.c.
References Priority(), and priority.
void cTimer::SetRecording | ( | bool | Recording | ) |
Definition at line 991 of file timers.c.
References ClrFlags(), isyslog, Recording(), SetFlags(), tfRecording, and ToDescr().
void cTimer::SetRemote | ( | const char * | Remote | ) |
Definition at line 1048 of file timers.c.
References Remote(), and remote.
Referenced by cMenuTimers::New(), cMenuSchedule::Record(), cMenuWhatsOn::Record(), and cTimers::StoreRemoteTimers().
void cTimer::SetStart | ( | int | Start | ) |
Definition at line 1022 of file timers.c.
References Start(), and start.
Referenced by AdjustSpawnedTimer().
void cTimer::SetStop | ( | int | Stop | ) |
Definition at line 1027 of file timers.c.
Referenced by AdjustSpawnedTimer().
|
static |
Definition at line 548 of file timers.c.
Referenced by AdjustSpawnedTimer(), cTimer(), cTimer(), DayMatches(), Matches(), ParseDay(), cMenuEditDateItem::ProcessKey(), Skip(), and cMenuEditDateItem::ToggleRepeating().
void cTimer::SetWeekDays | ( | int | WeekDays | ) |
Definition at line 1017 of file timers.c.
References WeekDays(), and weekdays.
void cTimer::Skip | ( | void | ) |
Definition at line 1080 of file timers.c.
References day, IncDay(), SetEvent(), SetTime(), StartTime(), and startTime.
Referenced by cMenuTimers::Delete(), OnOff(), and TimerStillRecording().
Definition at line 815 of file timers.c.
References cTimers::Add(), cTimer(), Event(), File(), HandleRemoteTimerModifications(), isyslog, MakePatternFileName(), Pattern(), SetFlags(), startswith(), tfAvoid, TIMERPATTERN_AVOID, and ToDescr().
Referenced by SpawnPatternTimers().
bool cTimer::SpawnPatternTimers | ( | const cSchedules * | Schedules, |
cTimers * | Timers ) |
Definition at line 827 of file timers.c.
References Channel(), cTimer(), cSchedule::Events(), EXPIRELATENCY, cList< T >::First(), cSchedules::GetSchedule(), cTimers::GetTimerForEvent(), HasFlags(), Matches(), cSchedule::Modified(), cList< T >::Next(), scheduleStateSpawn, Setup, SpawnPatternTimer(), StopTimeEvent(), tfSpawned, tfVps, and tmNone.
|
inline |
Definition at line 72 of file timers.h.
References start.
Referenced by cTimers::GetTimer(), and SetStart().
time_t cTimer::StartTime | ( | void | ) | const |
the start time as given by the user
Definition at line 771 of file timers.c.
References Matches(), and startTime.
Referenced by AdjustSpawnedTimer(), Compare(), cShutdownHandler::ConfirmRestart(), cShutdownHandler::ConfirmShutdown(), cRecording::cRecording(), cShutdownHandler::DoShutdown(), Matches(), SetEventFromSchedule(), Skip(), and StartTimeEvent().
time_t cTimer::StartTimeEvent | ( | void | ) | const |
the start/stop times as given by the event (for VPS timers), by event plus margins (for spawned non-VPS timers),
Definition at line 785 of file timers.c.
References event, HasFlags(), Setup, StartTime(), tfSpawned, and tfVps.
Referenced by cSkinLCARSDisplayMenu::DrawTimer().
|
inline |
Definition at line 73 of file timers.h.
References stop.
Referenced by cTimers::GetTimer(), and SetStop().
time_t cTimer::StopTime | ( | void | ) | const |
the stop time as given by the user
Definition at line 778 of file timers.c.
References Matches(), and stopTime.
Referenced by AdjustSpawnedTimer(), cTimers::GetNextActiveTimer(), SetEventFromSchedule(), and StopTimeEvent().
time_t cTimer::StopTimeEvent | ( | void | ) | const |
or by the user (for normal timers)
Definition at line 796 of file timers.c.
References event, HasFlags(), Setup, StopTime(), tfSpawned, and tfVps.
Referenced by cSkinLCARSDisplayMenu::DrawTimer(), Expired(), and SpawnPatternTimers().
|
static |
cString cTimer::ToDescr | ( | void | ) | const |
Definition at line 333 of file timers.c.
References Channel(), HasFlags(), Id(), PatternAndFile(), remote, cString::sprintf(), start, stop, and tfVps.
Referenced by AdjustSpawnedTimer(), cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdUPDT(), cTimers::DeleteExpired(), Expired(), HandleRemoteTimerModifications(), Matches(), cMenuTimers::OnOff(), SetDeferred(), SetEvent(), SetInVpsMargin(), SetRecording(), SpawnPatternTimer(), cRecordControls::Start(), cRecordControls::Stop(), cReplayControl::Stop(), and TriggerRespawn().
cString cTimer::ToText | ( | bool | UseChannelID = false | ) | const |
Definition at line 323 of file timers.c.
References aux, Channel(), day, file, flags, itoa(), lifetime, pattern, PatternAndFile(), PrintDay(), priority, cString::sprintf(), start, stop, strreplace(), and weekdays.
Referenced by cSVDRPServer::CmdNEWT(), cSVDRPServer::CmdUPDT(), HandleRemoteTimerModifications(), cMenuTimers::OnOff(), Save(), and cStatusTest::TimerChange().
void cTimer::TriggerRespawn | ( | void | ) |
Definition at line 908 of file timers.c.
References Channel(), dsyslog, HasFlags(), IsPatternTimer(), Local(), LOCK_CHANNELS_READ, LOCK_SCHEDULES_WRITE, tfSpawned, and ToDescr().
Referenced by cTimers::DeleteExpired(), and OnOff().
|
inline |
Definition at line 71 of file timers.h.
References weekdays.
Referenced by cTimers::GetTimer(), ParseDay(), PrintDay(), and SetWeekDays().
|
friend |
|
private |
|
private |
|
mutableprivate |
midnight of the day this timer shall hit, or of the first day it shall hit in case of a repeating timer
Definition at line 45 of file timers.h.
Referenced by cTimer(), cTimer(), Day(), DayMatches(), FirstDay(), Matches(), OnOff(), operator=(), Parse(), ParseDay(), PrintFirstDay(), SetDay(), Skip(), and ToText().
|
mutableprivate |
Matches(time_t, ...) will return false if the current time is before this value.
Definition at line 39 of file timers.h.
Referenced by cTimer(), cTimer(), Deferred(), Matches(), operator=(), and SetDeferred().
|
private |
Definition at line 55 of file timers.h.
Referenced by Event(), Expired(), Matches(), operator=(), SetEvent(), StartTimeEvent(), StopTimeEvent(), and ~cTimer().
|
mutableprivate |
Definition at line 52 of file timers.h.
Referenced by cTimer(), cTimer(), File(), operator=(), Parse(), PatternAndFile(), SetFile(), and ToText().
|
private |
Definition at line 43 of file timers.h.
Referenced by ClrFlags(), cTimer(), cTimer(), cTimer(), Flags(), HasFlags(), InvFlags(), operator=(), Parse(), SetFlags(), and ToText().
|
private |
Definition at line 34 of file timers.h.
Referenced by Id(), and operator=().
|
private |
Definition at line 42 of file timers.h.
Referenced by cTimer(), cTimer(), InVpsMargin(), operator=(), and SetInVpsMargin().
|
private |
Definition at line 50 of file timers.h.
Referenced by cTimer(), cTimer(), Lifetime(), operator=(), Parse(), SetLifetime(), and ToText().
|
mutableprivate |
Definition at line 51 of file timers.h.
Referenced by cTimer(), cTimer(), IsPatternTimer(), operator=(), Parse(), Pattern(), PatternAndFile(), SetPattern(), and ToText().
|
private |
Definition at line 42 of file timers.h.
Referenced by cTimer(), cTimer(), operator=(), Pending(), and SetPending().
|
private |
Definition at line 49 of file timers.h.
Referenced by Compare(), cTimer(), cTimer(), operator=(), Parse(), Priority(), SetPriority(), and ToText().
|
private |
|
private |
Definition at line 38 of file timers.h.
Referenced by AdjustSpawnedTimer(), cTimer(), cTimer(), operator=(), and SetEvent().
|
private |
Definition at line 36 of file timers.h.
Referenced by cTimer(), cTimer(), operator=(), SetEvent(), and SetEventFromSchedule().
|
private |
Definition at line 37 of file timers.h.
Referenced by cTimer(), cTimer(), operator=(), SetEvent(), and SpawnPatternTimers().
|
private |
|
mutableprivate |
Definition at line 35 of file timers.h.
Referenced by cTimer(), cTimer(), Expired(), Matches(), Matches(), operator=(), Skip(), and StartTime().
|
private |
|
private |
the time_t value calculated from 'day', 'start' and 'stop'
Definition at line 35 of file timers.h.
Referenced by cTimer(), cTimer(), Matches(), Matches(), operator=(), and StopTime().
|
mutableprivate |
|
mutableprivate |
|
private |
bitmask, lowest bits: SSFTWTM (the 'M' is the LSB)
Definition at line 46 of file timers.h.
Referenced by cTimer(), cTimer(), DayMatches(), FirstDay(), IsSingleEvent(), operator=(), Parse(), PrintFirstDay(), SetWeekDays(), ToText(), and WeekDays().