![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cTimeSchedule.h>
Public Member Functions | |
cTimeSchedule () | |
cTimeSchedule (const char *pszText) | |
~cTimeSchedule () | |
HRESULT | SetRules (const char *pszText) |
HRESULT | AddRuleElem (cTimeScheduleElem *pElem) |
bool | IsActiveEval (const cTimeUnits &rTimeNow) const |
Is this true now? argument current time. More... | |
bool | IsActiveEval (const cTimeInt &rTimeNow) const |
UNITTEST_FRIEND (cTimeSchedule) | |
Public Attributes | |
cTimeScheduleSet | m_Rules |
Rules that apply to when this will happen. More... | |
cTimeInt | m_tLast |
A Time schedule data block. Define a time when something is to happen. (bool result) e.g. Monday through Friday from 9 to 5 e.g. Easter e.g. Monday through Friday except April 1
GrayLib::cTimeSchedule::cTimeSchedule | ( | ) |
GrayLib::cTimeSchedule::cTimeSchedule | ( | const char * | pszText | ) |
GrayLib::cTimeSchedule::~cTimeSchedule | ( | ) |
HRESULT GrayLib::cTimeSchedule::AddRuleElem | ( | cTimeScheduleElem * | pElem | ) |
bool GrayLib::cTimeSchedule::IsActiveEval | ( | const cTimeInt & | rTimeNow | ) | const |
is this rule true or false for the current time ?
bool GrayLib::cTimeSchedule::IsActiveEval | ( | const cTimeUnits & | rTimeNow | ) | const |
Is this true now? argument current time.
HRESULT GrayLib::cTimeSchedule::SetRules | ( | const char * | pszText | ) |
GrayLib::cTimeSchedule::UNITTEST_FRIEND | ( | cTimeSchedule | ) |
cTimeScheduleSet GrayLib::cTimeSchedule::m_Rules |
Rules that apply to when this will happen.
cTimeInt GrayLib::cTimeSchedule::m_tLast |