#include <calendaritem.h>
Public Member Functions | |
| DailyCalendarItem ()=default | |
| DailyCalendarItem (const CalendarItem::Point &point, const std::string &title) | |
| bool | init (utility::ErrorState &errorState) override |
| virtual bool | active (SystemTimeStamp timeStamp) const override |
Public Member Functions inherited from CalendarItem | |
| CalendarItem ()=default | |
| CalendarItem (const Point &point, const std::string &title) | |
| void | setTitle (const std::string &title) |
| const std::string & | getTitle () const |
| void | setDescription (const std::string &description) |
| const std::string & | getDescription () const |
| bool | setPoint (const Point &point) |
| const Point & | getPoint () const |
| bool | setTime (const Time &time) |
| const Time & | getTime () const |
| void | setDuration (const Time &duration) |
| const Time & | getDuration () const |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| virtual void | onDestroy () |
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Public Attributes inherited from CalendarItem | |
| std::string | mTitle = "" |
| Property: 'Title' item title. More... | |
| Point | mPoint |
| Property; 'Point' point in time together with duration. More... | |
| std::string | mDescription = "" |
| Property: 'Description' item description. More... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Daily recurring calendar item. For example: watering the plants or an alarm clock.
|
default |
| DailyCalendarItem | ( | const CalendarItem::Point & | point, |
| const std::string & | title | ||
| ) |
|
overridevirtual |
| timeStamp | time to validate |
Implements CalendarItem.
|
overridevirtual |
Initializes the daily calendar item. Checks if the time is valid.
Reimplemented from CalendarItem.