|
svvitch
digital signage player
|
スケジュールクラス. More...
#include <Schedule.h>

Public Member Functions | |
| Schedule (const string id, const int year, const int month, const int day, const int hour, const int minute, const int second, const int week, const string command) | |
| ‾Schedule () | |
| bool | matchDate (LocalDateTime time) |
| 日付系の指定がマッチしているか | |
| bool | match (LocalDateTime time) |
| 実行タイミングにjustマッチしているか | |
| bool | matchPast (LocalDateTime time) |
| 日付系がマッチしており実行タイミングを経過しているか | |
| const string & | command () const |
| コマンド | |
Private Attributes | |
| Poco::Logger & | _log |
| string | _id |
| int | _year |
| int | _month |
| int | _day |
| int | _hour |
| int | _minute |
| int | _second |
| int | _week |
| string | _command |
| Schedule::Schedule | ( | const string | id, |
| const int | year, | ||
| const int | month, | ||
| const int | day, | ||
| const int | hour, | ||
| const int | minute, | ||
| const int | second, | ||
| const int | week, | ||
| const string | command | ||
| ) |
Definition at line 6 of file Schedule.cpp.
| const string & Schedule::command | ( | ) | const |
| bool Schedule::match | ( | LocalDateTime | time | ) |
実行タイミングにjustマッチしているか
Definition at line 25 of file Schedule.cpp.


| bool Schedule::matchDate | ( | LocalDateTime | time | ) |
日付系の指定がマッチしているか
Definition at line 17 of file Schedule.cpp.

| bool Schedule::matchPast | ( | LocalDateTime | time | ) |
日付系がマッチしており実行タイミングを経過しているか
Definition at line 35 of file Schedule.cpp.


| Schedule::‾Schedule | ( | ) |
Definition at line 14 of file Schedule.cpp.
string Schedule::_command [private] |
Definition at line 26 of file Schedule.h.
int Schedule::_day [private] |
Definition at line 21 of file Schedule.h.
int Schedule::_hour [private] |
Definition at line 22 of file Schedule.h.
string Schedule::_id [private] |
Definition at line 18 of file Schedule.h.
Poco::Logger& Schedule::_log [private] |
Definition at line 16 of file Schedule.h.
int Schedule::_minute [private] |
Definition at line 23 of file Schedule.h.
int Schedule::_month [private] |
Definition at line 20 of file Schedule.h.
int Schedule::_second [private] |
Definition at line 24 of file Schedule.h.
int Schedule::_week [private] |
Definition at line 25 of file Schedule.h.
int Schedule::_year [private] |
Definition at line 19 of file Schedule.h.