41 #ifndef YOCTO_REALTIMECLOCK_H 42 #define YOCTO_REALTIMECLOCK_H 55 #ifndef _Y_TIMESET_ENUM 56 #define _Y_TIMESET_ENUM 63 #define Y_UNIXTIME_INVALID (YAPI_INVALID_LONG) 64 #define Y_DATETIME_INVALID (YAPI_INVALID_STRING) 65 #define Y_UTCOFFSET_INVALID (YAPI_INVALID_INT) 79 #pragma option push -w-8022 120 s64 get_unixTime(
void);
123 {
return this->get_unixTime(); }
134 int set_unixTime(s64 newval);
136 {
return this->set_unixTime(newval); }
145 string get_dateTime(
void);
148 {
return this->get_dateTime(); }
157 int get_utcOffset(
void);
160 {
return this->get_utcOffset(); }
172 int set_utcOffset(
int newval);
174 {
return this->set_utcOffset(newval); }
187 {
return this->get_timeSet(); }
247 {
return this->nextRealTimeClock();}
static YRealTimeClock * Find(string func)
static YRealTimeClock * FirstRealTimeClock(void)
#define YAPI_INVALID_LONG
YRealTimeClock * yFirstRealTimeClock(void)
static const string DATETIME_INVALID
int setUnixTime(s64 newval)
virtual int _parseAttr(YJSONObject *json_val)
static YRealTimeClock * FindRealTimeClock(string func)
YRealTimeClock * yFindRealTimeClock(const string &func)
virtual int registerValueCallback(YFunctionValueCallback callback)
int setUtcOffset(int newval)
#define YOCTO_CLASS_EXPORT
YRealTimeClockValueCallback _valueCallbackRealTimeClock
static YRealTimeClock * First(void)
YRealTimeClock * next(void)
Y_TIMESET_enum timeSet(void)
void(* YRealTimeClockValueCallback)(YRealTimeClock *func, const string &functionValue)
virtual int _invokeValueCallback(string value)