A widget generated from a google protobuf message. More...
#include <ConfigWidget.hh>
Public Member Functions | |
ConfigWidget () | |
Constructor. More... | |
~ConfigWidget () | |
Destructor. More... | |
bool | GetBoolWidgetValue (const std::string &_name) const |
Get a bool value from a child widget. More... | |
common::Color | GetColorWidgetValue (const std::string &_name) const |
Get a color value from a child widget. More... | |
double | GetDoubleWidgetValue (const std::string &_name) const |
Get a double value from a child widget. More... | |
std::string | GetGeometryWidgetValue (const std::string &_name, math::Vector3 &_dimensions) const |
Get a geometry value from a child widget. More... | |
int | GetIntWidgetValue (const std::string &_name) const |
Get an integer value from a child widget. More... | |
google::protobuf::Message * | GetMsg () |
Get the updated message. More... | |
math::Pose | GetPoseWidgetValue (const std::string &_name) const |
Get a pose value from a child widget. More... | |
std::string | GetStringWidgetValue (const std::string &_name) const |
Get a string value from a child widget. More... | |
unsigned int | GetUIntWidgetValue (const std::string &_name) const |
Get an unsigned integer value from a child widget. More... | |
math::Vector3 | GetVector3WidgetValue (const std::string &_name) const |
Get a vector3 value from a child widget. More... | |
bool | GetWidgetReadOnly (const std::string &_name) const |
Get whether a child widget is read-only. More... | |
bool | GetWidgetVisible (const std::string &_name) const |
Get whether a child widget is visible. More... | |
void | Load (const google::protobuf::Message *_msg) |
Load from a google protobuf message. More... | |
void | SetBoolWidgetValue (const std::string &_name, bool _value) |
Set a bool value to a child widget. More... | |
void | SetColorWidgetValue (const std::string &_name, const common::Color &_value) |
Set a color value to a child widget. More... | |
void | SetDoubleWidgetValue (const std::string &_name, double _value) |
Set a double value to a child widget. More... | |
void | SetGeometryWidgetValue (const std::string &_name, const std::string &_value, const math::Vector3 &_dimensions) |
Set a geometry value to a child widget. More... | |
void | SetIntWidgetValue (const std::string &_name, int _value) |
Set an integer value to a child widget. More... | |
void | SetPoseWidgetValue (const std::string &_name, const math::Pose &_value) |
Set a pose value to a child widget. More... | |
void | SetStringWidgetValue (const std::string &_name, const std::string &_value) |
Set a string value to a child widget. More... | |
void | SetUIntWidgetValue (const std::string &_name, unsigned int _value) |
Set an unsigned integer value to a child widget. More... | |
void | SetVector3WidgetValue (const std::string &_name, const math::Vector3 &_value) |
Set a vector3 value to a child widget. More... | |
void | SetWidgetReadOnly (const std::string &_name, bool _readOnly) |
Set whether a child widget should be read-only. More... | |
void | SetWidgetVisible (const std::string &_name, bool _visible) |
Set whether a child widget should be visible. More... | |
void | UpdateFromMsg (const google::protobuf::Message *_msg) |
Update the widgets from a message. More... | |
A widget generated from a google protobuf message.