|
Namespaces | |
Client | |
detail | |
Typedefs | |
using | CreateWidgetCallback = std::function< QWidgetPtr(WidgetPtr const &)> |
using | QWidgetPtr = QWidget * |
using | ValueMap = std::map< std::string, ValueVariant > |
typedef std::map< std::type_index, WidgetHandler * > | WidgetRegister |
Functions | |
bool | buttonClicked (RemoteGui::ValueMap const &newValues, RemoteGui::ValueMap const &oldValues, std::string const &name) |
WidgetRegister | createWidgetRegister () |
Eigen::Vector3f | fromIce (Vector3f v) |
Eigen::Vector3i | fromIce (Vector3i v) |
template<typename T > | |
T | getAndReturnValue (ValueMap const &values, std::string const &name) |
template<typename T > | |
T | getSingleValue (ValueVariant const &value, const std::string &name="") |
template<> | |
bool | getSingleValue< bool > (ValueVariant const &value, const std::string &name) |
template<> | |
Eigen::Matrix4f | getSingleValue< Eigen::Matrix4f > (ValueVariant const &value, const std::string &name) |
template<> | |
Eigen::Vector3f | getSingleValue< Eigen::Vector3f > (ValueVariant const &value, const std::string &name) |
template<> | |
float | getSingleValue< float > (ValueVariant const &value, const std::string &name) |
template<> | |
int | getSingleValue< int > (ValueVariant const &value, const std::string &name) |
template<> | |
std::nullptr_t | getSingleValue< std::nullptr_t > (RemoteGui::ValueVariant const &value, const std::string &name) |
template<> | |
std::string | getSingleValue< std::string > (ValueVariant const &value, const std::string &name) |
void | getValueFromMap (bool &val, const ValueMap &values, const std::string &name) |
void | getValueFromMap (CartesianWaypointControllerConfig &cfg, RemoteGui::ValueMap const &values, std::string const &name) |
void | getValueFromMap (Eigen::Matrix4f &val, const ValueMap &values, const std::string &name) |
void | getValueFromMap (Eigen::Vector3f &val, const ValueMap &values, const std::string &name) |
void | getValueFromMap (int &val, const ValueMap &values, const std::string &name) |
void | getValueFromMap (long unsigned int &val, ValueMap const &values, std::string const &name) |
void | getValueFromMap (NJointCartesianWaypointControllerRuntimeConfig &cfg, RemoteGui::ValueMap const &values, std::string const &name) |
void | getValueFromMap (std::string &val, const ValueMap &values, const std::string &name) |
template<class T > | |
std::enable_if_t< meta::cfg::gui_definition_enabled_v< T >, void > | getValueFromMap (T &cfg, RemoteGui::ValueMap const &values, std::string const &name) |
template<class T > | |
simox::meta::enable_if_enum_adapted_t< T > | getValueFromMap (T &cfg, RemoteGui::ValueMap const &values, std::string const &name) |
const char * | getVariantTypeName (ValueVariantType type) |
const WidgetHandler & | getWidgetHandler (WidgetPtr const &desc) |
detail::ButtonBuilder | makeButton (std::string const &name) |
detail::CheckBoxBuilder | makeCheckBox (std::string const &name) |
detail::ComboBoxBuilder | makeComboBox (std::string const &name) |
template<typename AronStructT > | |
requires isAronGenerated< AronStructT > detail::GroupBoxBuilder | makeConfigGui (const std::string &name, const AronStructT &val) |
detail::GroupBoxBuilder | makeConfigGui (const std::string &name, const CartesianWaypointControllerConfig &val) |
detail::GroupBoxBuilder | makeConfigGui (const std::string &name, const NJointCartesianWaypointControllerRuntimeConfig &val) |
detail::FloatSliderBuilder | makeFloatSlider (std::string const &name) |
detail::FloatSpinBoxBuilder | makeFloatSpinBox (std::string const &name) |
detail::GridLayoutBuilder | makeGridLayout (std::string const &name="") |
detail::GroupBoxBuilder | makeGroupBox (std::string const &name="") |
template<class T > | |
RemoteGui::WidgetPtr | MakeGuiConfig (const std::string &name, const T &val) |
detail::HBoxLayoutBuilder | makeHBoxLayout (std::string const &name="") |
detail::IntSliderBuilder | makeIntSlider (std::string const &name) |
detail::IntSpinBoxBuilder | makeIntSpinBox (std::string const &name) |
detail::LabelBuilder | makeLabel (std::string const &name) |
detail::LineEditBuilder | makeLineEdit (std::string const &name) |
detail::PosRPYSpinBoxesBuilder | makePosRPYSpinBoxes (std::string const &name, float limpos=1000, float limrpy=M_PI) |
detail::SimpleGridLayoutBuilder | makeSimpleGridLayout (std::string const &name="") |
detail::LabelBuilder | makeTextLabel (std::string const &text) |
detail::ToggleButtonBuilder | makeToggleButton (std::string const &name) |
ValueVariant | makeValue (bool value) |
ValueVariant | makeValue (const Eigen::Matrix4f &value) |
ValueVariant | makeValue (const Eigen::Vector3f &value) |
ValueVariant | makeValue (float value) |
ValueVariant | makeValue (int value) |
ValueVariant | makeValue (std::string value) |
detail::VBoxLayoutBuilder | makeVBoxLayout (std::string const &name="") |
detail::Vector3fSpinBoxesBuilder | makeVector3fSpinBoxes (std::string const &name, float limpos=1000) |
bool | operator!= (const ValueVariant &left, const ValueVariant &right) |
bool | operator== (const ValueVariant &left, const ValueVariant &right) |
template<typename HandlerT > | |
void | registerHandler (WidgetRegister ®ister_) |
Vector3f | toIceF (Eigen::Vector3f v) |
Vector3i | toIceI (Eigen::Vector3i v) |
QString | toQString (std::string const &string) |
std::string | toUtf8 (QString const &qstring) |
Variables | |
template<typename T > | |
concept | isAronGenerated = std::is_base_of<armarx::aron::cpp::AronGeneratedClass, T>::value |
using CreateWidgetCallback = std::function<QWidgetPtr(WidgetPtr const&)> |
Definition at line 20 of file WidgetHandler.h.
using QWidgetPtr = QWidget* |
Definition at line 19 of file WidgetHandler.h.
using ValueMap = std::map<std::string, ValueVariant> |
Definition at line 41 of file RemoteGuiVisitors.h.
typedef std::map<std::type_index, WidgetHandler*> WidgetRegister |
Definition at line 15 of file WidgetRegister.cpp.
bool buttonClicked | ( | RemoteGui::ValueMap const & | newValues, |
RemoteGui::ValueMap const & | oldValues, | ||
std::string const & | name | ||
) |
Definition at line 6 of file Storage.cpp.
WidgetRegister armarx::RemoteGui::createWidgetRegister | ( | ) |
Eigen::Vector3f fromIce | ( | Vector3f | v | ) |
Definition at line 91 of file Storage.cpp.
Eigen::Vector3i fromIce | ( | Vector3i | v | ) |
T armarx::RemoteGui::getSingleValue | ( | ValueVariant const & | value, |
const std::string & | name = "" |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void getValueFromMap | ( | bool & | val, |
const ValueMap & | values, | ||
const std::string & | name | ||
) |
Definition at line 200 of file Storage.cpp.
void getValueFromMap | ( | CartesianWaypointControllerConfig & | cfg, |
RemoteGui::ValueMap const & | values, | ||
std::string const & | name | ||
) |
void getValueFromMap | ( | Eigen::Matrix4f & | val, |
const ValueMap & | values, | ||
const std::string & | name | ||
) |
Definition at line 225 of file Storage.cpp.
void getValueFromMap | ( | Eigen::Vector3f & | val, |
const ValueMap & | values, | ||
const std::string & | name | ||
) |
Definition at line 220 of file Storage.cpp.
void getValueFromMap | ( | int & | val, |
const ValueMap & | values, | ||
const std::string & | name | ||
) |
Definition at line 205 of file Storage.cpp.
|
inline |
void getValueFromMap | ( | NJointCartesianWaypointControllerRuntimeConfig & | cfg, |
RemoteGui::ValueMap const & | values, | ||
std::string const & | name | ||
) |
void getValueFromMap | ( | std::string & | val, |
const ValueMap & | values, | ||
const std::string & | name | ||
) |
Definition at line 215 of file Storage.cpp.
std::enable_if_t<meta::cfg::gui_definition_enabled_v<T>, void> armarx::RemoteGui::getValueFromMap | ( | T & | cfg, |
RemoteGui::ValueMap const & | values, | ||
std::string const & | name | ||
) |
Definition at line 13 of file GetValue.h.
simox::meta::enable_if_enum_adapted_t<T> armarx::RemoteGui::getValueFromMap | ( | T & | cfg, |
RemoteGui::ValueMap const & | values, | ||
std::string const & | name | ||
) |
Definition at line 41 of file GetValue.h.
const char * getVariantTypeName | ( | ValueVariantType | type | ) |
WidgetHandler const & getWidgetHandler | ( | WidgetPtr const & | desc | ) |
Definition at line 60 of file WidgetRegister.cpp.
|
inline |
|
inline |
Definition at line 26 of file BoolWidgets.h.
|
inline |
requires isAronGenerated<AronStructT> detail::GroupBoxBuilder armarx::RemoteGui::makeConfigGui | ( | const std::string & | name, |
const AronStructT & | val | ||
) |
Definition at line 41 of file RemoteGui.h.
detail::GroupBoxBuilder makeConfigGui | ( | const std::string & | name, |
const CartesianWaypointControllerConfig & | val | ||
) |
detail::GroupBoxBuilder makeConfigGui | ( | const std::string & | name, |
const NJointCartesianWaypointControllerRuntimeConfig & | val | ||
) |
|
inline |
|
inline |
|
inline |
Definition at line 240 of file LayoutWidgets.h.
|
inline |
RemoteGui::WidgetPtr armarx::RemoteGui::MakeGuiConfig | ( | const std::string & | name, |
const T & | val | ||
) |
Definition at line 8 of file MakeGuiConfig.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 22 of file StaticWidgets.h.
|
inline |
Definition at line 33 of file BoolWidgets.h.
ValueVariant makeValue | ( | bool | value | ) |
Definition at line 133 of file Storage.cpp.
ValueVariant makeValue | ( | const Eigen::Matrix4f & | value | ) |
ValueVariant makeValue | ( | const Eigen::Vector3f & | value | ) |
ValueVariant makeValue | ( | float | value | ) |
ValueVariant makeValue | ( | int | value | ) |
ValueVariant makeValue | ( | std::string | value | ) |
|
inline |
|
inline |
bool operator!= | ( | const ValueVariant & | left, |
const ValueVariant & | right | ||
) |
Definition at line 68 of file Storage.cpp.
bool operator== | ( | const ValueVariant & | left, |
const ValueVariant & | right | ||
) |
Definition at line 36 of file Storage.cpp.
void armarx::RemoteGui::registerHandler | ( | WidgetRegister & | register_ | ) |
Definition at line 18 of file WidgetRegister.cpp.
Vector3f toIceF | ( | Eigen::Vector3f | v | ) |
Definition at line 73 of file Storage.cpp.
Vector3i toIceI | ( | Eigen::Vector3i | v | ) |
Definition at line 82 of file Storage.cpp.
QString toQString | ( | std::string const & | string | ) |
std::string toUtf8 | ( | QString const & | qstring | ) |
concept isAronGenerated = std::is_base_of<armarx::aron::cpp::AronGeneratedClass, T>::value |
Definition at line 36 of file RemoteGui.h.