Razorbotz RMC 2021-2022 Documentation
Loading...
Searching...
No Matches
InfoItem Class Reference
Inheritance diagram for InfoItem:
Collaboration diagram for InfoItem:

Public Member Functions

 InfoItem (std::string name)
 
void setName (std::string name)
 
std::string getName ()
 
void setDecimalPlaces (int places)
 
void setValue (long value)
 
void setValue (double value)
 
void setValue (float value)
 
void setValue (std::string value)
 
template<typename T>
void setValue (T value)
 
bool getValueAsBool ()
 
int getValueAsInt ()
 
long getValueAsLong ()
 
float getValueAsFloat ()
 
double getValueAsDouble ()
 
std::string getValue ()
 
void setBackground (std::string color)
 
void setTextColor (std::string color, bool bold)
 

The documentation for this class was generated from the following files: