Classes | Namespaces | Defines | Functions
property_value.h File Reference
#include "forwards.h"
#include <sstream>
#include <ros/types.h>
#include <ros/assert.h>
#include <typeinfo>
#include <stdexcept>
#include <cstdlib>
Include dependency graph for property_value.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rve_properties::PropertyValue
struct  rve_properties::PropertyValueOperators
struct  rve_properties::PropertyValueOperatorsT< T >
struct  rve_properties::ValueTraits< T >
struct  rve_properties::ValueTraits< const char * >
struct  rve_properties::ValueTraits< std::string >

Namespaces

namespace  rve_properties

Defines

#define PROPERTY_VALUE_EXTERNS(type)
#define RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS(type, name)

Functions

 rve_properties::PROPERTY_VALUE_EXTERNS (bool)
 rve_properties::PROPERTY_VALUE_EXTERNS (uint8_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (int8_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (uint16_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (int16_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (uint32_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (int32_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (uint64_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (int64_t)
 rve_properties::PROPERTY_VALUE_EXTERNS (float)
 rve_properties::PROPERTY_VALUE_EXTERNS (double)
 rve_properties::PROPERTY_VALUE_EXTERNS (std::string)
template<>
void rve_properties::PropertyValue::getImpl< std::string > (std::string &str)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (bool, bool)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (uint8_t, uint8)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (int8_t, int8)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (uint16_t, uint16)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (int16_t, int16)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (uint32_t, uint32)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (int32_t, int32)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (uint64_t, uint64)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (int64_t, int64)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (float, float)
 rve_properties::RVE_PROPERTIES_DEFINE_SIMPLE_VALUE_TRAITS (double, double)

Define Documentation

Value:
extern template class PropertyValueOperatorsT<type>; \
    extern template void PropertyValue::set(type); \
    extern template void PropertyValue::get(type&, type); \
    extern template void PropertyValue::get(type&); \
    extern template type PropertyValue::get(); \
    extern template void PropertyValue::getImpl(type&);

Definition at line 374 of file property_value.h.

Value:
template<> \
  struct ValueTraits<type> \
  { \
    inline static const char* typeName() { return #name; } \
    inline static std::string toString(void* mem) \
    { \
      type* val = reinterpret_cast<type*>(mem); \
      std::stringstream ss; \
      ss << *val; \
      return ss.str(); \
    } \
 \
    inline static void fromString(void* mem, const std::string& str) \
    { \
      type* val = reinterpret_cast<type*>(mem); \
      std::istringstream in(str); \
      in >> *val; \
    } \
  };

Definition at line 69 of file property_value.h.



rve_properties
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:31:27