41 #ifndef YOCTO_SEGMENTEDDISPLAY_H 42 #define YOCTO_SEGMENTEDDISPLAY_H 55 #ifndef _Y_DISPLAYMODE_ENUM 56 #define _Y_DISPLAYMODE_ENUM 65 #define Y_DISPLAYEDTEXT_INVALID (YAPI_INVALID_STRING) 76 #pragma option push -w-8022 114 string get_displayedText(
void);
117 {
return this->get_displayedText(); }
128 int set_displayedText(
const string& newval);
130 {
return this->set_displayedText(newval); }
135 {
return this->get_displayMode(); }
139 {
return this->set_displayMode(newval); }
199 {
return this->nextSegmentedDisplay();}
static YSegmentedDisplay * FindSegmentedDisplay(string func)
int setDisplayMode(Y_DISPLAYMODE_enum newval)
void(* YSegmentedDisplayValueCallback)(YSegmentedDisplay *func, const string &functionValue)
static const string DISPLAYEDTEXT_INVALID
static YSegmentedDisplay * Find(string func)
virtual int _parseAttr(YJSONObject *json_val)
YSegmentedDisplay * yFindSegmentedDisplay(const string &func)
Y_DISPLAYMODE_enum _displayMode
string displayedText(void)
virtual int registerValueCallback(YFunctionValueCallback callback)
static YSegmentedDisplay * First(void)
#define YOCTO_CLASS_EXPORT
int setDisplayedText(const string &newval)
YSegmentedDisplay * next(void)
YSegmentedDisplayValueCallback _valueCallbackSegmentedDisplay
YSegmentedDisplay * yFirstSegmentedDisplay(void)
Y_DISPLAYMODE_enum displayMode(void)
virtual int _invokeValueCallback(string value)
static YSegmentedDisplay * FirstSegmentedDisplay(void)