#include <IndicatorLabelFigure.h>
◆ IndicatorLabelFigure()
| inet::IndicatorLabelFigure::IndicatorLabelFigure |
( |
const char * |
name = nullptr | ) |
|
|
inlineexplicit |
28 : cLabelFigure(name) {}
◆ getAllowedPropertyKeys()
| const char ** inet::IndicatorLabelFigure::getAllowedPropertyKeys |
( |
| ) |
const |
|
overrideprotectedvirtual |
21 static const char *
keys[32];
23 const char *localKeys[] = {
24 PKEY_TEXT_FORMAT, PKEY_INITIAL_VALUE,
nullptr
26 concatArrays(
keys, cLabelFigure::getAllowedPropertyKeys(), localKeys);
◆ getSize()
| virtual const Point inet::IndicatorLabelFigure::getSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getTextFormat()
| virtual const char* inet::IndicatorLabelFigure::getTextFormat |
( |
| ) |
const |
|
inlinevirtual |
◆ parse()
| void inet::IndicatorLabelFigure::parse |
( |
cProperty * |
property | ) |
|
|
overrideprotectedvirtual |
33 cLabelFigure::parse(property);
36 if ((
s = property->getValue(PKEY_TEXT_FORMAT)) !=
nullptr)
38 if ((
s = property->getValue(PKEY_INITIAL_VALUE)) !=
nullptr)
◆ refresh()
| void inet::IndicatorLabelFigure::refresh |
( |
| ) |
|
|
protectedvirtual |
◆ setTextFormat()
| virtual void inet::IndicatorLabelFigure::setTextFormat |
( |
const char * |
textFormat | ) |
|
|
inlinevirtual |
◆ setValue()
| void inet::IndicatorLabelFigure::setValue |
( |
int |
series, |
|
|
simtime_t |
timestamp, |
|
|
double |
value |
|
) |
| |
|
overridevirtual |
◆ textFormat
| std::string inet::IndicatorLabelFigure::textFormat = "%g" |
|
protected |
◆ value
| double inet::IndicatorLabelFigure::value = NaN |
|
protected |
The documentation for this class was generated from the following files: