1 #ifndef CARMA_UI_RTD_CELLMM_H
2 #define CARMA_UI_RTD_CELLMM_H
4 #include "carma/ui/rtd/common/RtDisplay.h"
36 void setLimits(
short warnHi,
short warnLo,
short errHi,
short errLo);
85 CellFloatMM(
const char* fmt,
int rod,
const float& data);
88 void setLimits(
float warnHi,
float warnLo,
float errHi,
float errLo);
139 CellDbleMM(
const char* fmt,
int rod,
const double& data);
142 void setLimits(
double warnHi,
double warnLo,
double errHi,
double errLo);
virtual void updateColor()
Update background color based on limits.
virtual void updateColor()
Update background color based on limits.
A CellDble variant with max and min limits to set background colors.
void setWarnColor(CellColor color)
Sets color to use for warning (yellow is default)
void setLimits(float warnHi, float warnLo, float errHi, float errLo)
Sets limits.
CellDbleMM(const char *fmt, int rod, const char *legit, const double &data)
Constructor.
void setWarnColor(CellColor color)
Set the background color for the warning condition.
void setErrColor(CellColor color)
Set the background color for the error condition.
A Cell with short integer data.
const int rod
Number of characters to right of the decimal point.
CellShortMM(const char *fmt, const char *legit, const short &data)
Constructor.
const char * legit
Deprecated...
void setLimits(short warnHi, short warnLo, short errHi, short errLo)
Sets limits for background colors.
void setLimits(double warnHi, double warnLo, double errHi, double errLo)
Sets limits.
void setWarnColor(CellColor color)
Sets color to use for warning (yellow is default)
const int rod
Number of characters to right of the decimal point.
const float & data
Reference to the data.
void setErrColor(CellColor color)
Sets color to use for error (red is default)
const double & data
Reference to the data.
CellFloatMM(const char *fmt, int rod, const char *legit, const float &data)
Constructor.
A Cell that displays the contents of a double.
virtual void updateColor()
Update the background color.
A CellDble variant with max and min limits to set background colors.
A Cell that displays the contents of a float.
void setErrColor(CellColor color)
Sets color to use for error (red is default)
A Cell with short data and thresholds for setting background color.
const short & data
Pointer to the data.
enum carma::ui::rtd::CellColorEnum CellColor
Cell color choices.