svvitch
digital signage player
Schedule Class Reference

スケジュールクラス. More...

#include <Schedule.h>

Collaboration diagram for Schedule:

List of all members.

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

Detailed Description

スケジュールクラス.

スケジュールを表します

Definition at line 14 of file Schedule.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

const string & Schedule::command ( ) const

コマンド

Definition at line 47 of file Schedule.cpp.

Here is the caller graph for this function:

bool Schedule::match ( LocalDateTime  time)

実行タイミングにjustマッチしているか

Definition at line 25 of file Schedule.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool Schedule::matchDate ( LocalDateTime  time)

日付系の指定がマッチしているか

Definition at line 17 of file Schedule.cpp.

Here is the caller graph for this function:

bool Schedule::matchPast ( LocalDateTime  time)

日付系がマッチしており実行タイミングを経過しているか

Definition at line 35 of file Schedule.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Schedule::‾Schedule ( )

Definition at line 14 of file Schedule.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines