41 #ifndef YOCTO_OSCONTROL_H 42 #define YOCTO_OSCONTROL_H 55 #define Y_SHUTDOWNCOUNTDOWN_INVALID (YAPI_INVALID_UINT) 68 #pragma option push -w-8022 102 int get_shutdownCountdown(
void);
105 {
return this->get_shutdownCountdown(); }
107 int set_shutdownCountdown(
int newval);
109 {
return this->set_shutdownCountdown(newval); }
138 static YOsControl* FindOsControl(
string func);
165 virtual int shutdown(
int secBeforeShutDown);
180 {
return this->nextOsControl();}
static YOsControl * FirstOsControl(void)
static YOsControl * First(void)
YOsControl * yFirstOsControl(void)
void(* YOsControlValueCallback)(YOsControl *func, const string &functionValue)
#define YAPI_INVALID_UINT
static YOsControl * FindOsControl(string func)
virtual int _parseAttr(YJSONObject *json_val)
static YOsControl * Find(string func)
virtual int registerValueCallback(YFunctionValueCallback callback)
int setShutdownCountdown(int newval)
#define YOCTO_CLASS_EXPORT
ROSCONSOLE_DECL void shutdown()
int shutdownCountdown(void)
YOsControl * yFindOsControl(const string &func)
virtual int _invokeValueCallback(string value)
YOsControlValueCallback _valueCallbackOsControl