Storage.h File Reference
#include <ArmarXGui/interface/RemoteGuiInterface.h>
#include <ArmarXCore/core/exceptions/LocalException.h>
#include <ArmarXCore/core/logging/Logging.h>
#include <Eigen/Core>
+ Include dependency graph for Storage.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Storage< Type_ >
 
struct  Storage< VALUE_VARIANT_BOOL >
 
struct  Storage< VALUE_VARIANT_FLOAT >
 
struct  Storage< VALUE_VARIANT_INT >
 
struct  Storage< VALUE_VARIANT_MATRIX4 >
 
struct  Storage< VALUE_VARIANT_STRING >
 
struct  Storage< VALUE_VARIANT_VECTOR3 >
 

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::RemoteGui
 

Functions

bool buttonClicked (RemoteGui::ValueMap const &newValues, RemoteGui::ValueMap const &oldValues, std::string const &name)
 
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 (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 (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)
 
const char * getVariantTypeName (ValueVariantType type)
 
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)
 
bool operator!= (const ValueVariant &left, const ValueVariant &right)
 
bool operator== (const ValueVariant &left, const ValueVariant &right)
 
Vector3f toIceF (Eigen::Vector3f v)
 
Vector3i toIceI (Eigen::Vector3i v)