#include <IndicatorLabelFigure.h>
IndicatorLabelFigure::IndicatorLabelFigure |
( |
const char * |
name = nullptr | ) |
|
|
inlineexplicit |
41 : cLabelFigure(name) {}
const char ** IndicatorLabelFigure::getAllowedPropertyKeys |
( |
| ) |
const |
|
overrideprotectedvirtual |
31 static const char *
keys[32];
33 const char *localKeys[] = {
34 PKEY_TEXT_FORMAT, PKEY_INITIAL_VALUE,
nullptr 36 concatArrays(keys, cLabelFigure::getAllowedPropertyKeys(), localKeys);
std::vector< K > keys(const std::map< K, V > &m)
Definition: stlutils.h:96
virtual const char* IndicatorLabelFigure::getTextFormat |
( |
| ) |
const |
|
inlinevirtual |
void IndicatorLabelFigure::parse |
( |
cProperty * |
property | ) |
|
|
overrideprotectedvirtual |
43 cLabelFigure::parse(property);
46 if ((s = property->getValue(PKEY_TEXT_FORMAT)) !=
nullptr)
48 if ((s = property->getValue(PKEY_INITIAL_VALUE)) !=
nullptr)
double atod(const char *s)
Converts string to double.
Definition: INETUtils.cc:38
value< double, units::s > s
Definition: Units.h:1049
void IndicatorLabelFigure::refresh |
( |
| ) |
|
|
protectedvirtual |
62 if (std::isnan(
value)) {
virtual void IndicatorLabelFigure::setTextFormat |
( |
const char * |
textFormat | ) |
|
|
inlinevirtual |
void IndicatorLabelFigure::setValue |
( |
int |
series, |
|
|
simtime_t |
timestamp, |
|
|
double |
value |
|
) |
| |
|
overridevirtual |
std::string IndicatorLabelFigure::textFormat = "%g" |
|
protected |
double IndicatorLabelFigure::value = NaN |
|
protected |
The documentation for this class was generated from the following files: