28 #ifndef Common_TimeWindow_h
29 #define Common_TimeWindow_h
118 #endif // Common_TimeWindow_h
bool within_window() const
Tests to see if current time is within the window.
bool m_within_window
Set to true if currently within the time window.
bool update_current_time(time_t now=0)
Logically sets the current time.
bool is_window_enabled() const
Indicates if the time window is enabled or disabled.
bool m_enabled
Set to true if the time window is enabled.
void enable_window(bool enable)
Enables or disables this time window.
TimeWindow()
Default constructor.
Crontab class for periodic events.
std::vector< Crontab > m_crontabs
Vector of Crontab objects that define each subwindow.