#include <canopen_master/objdict.h>#include <socketcan_interface/string.h>#include <boost/property_tree/ptree.hpp>#include <boost/property_tree/ini_parser.hpp>#include <boost/foreach.hpp>#include <boost/lexical_cast.hpp>#include <boost/algorithm/string.hpp>
Go to the source code of this file.
Classes | |
| struct | PrintValue |
| struct | ReadAnyValue |
| struct | WriteStringValue |
Namespaces | |
| namespace | canopen |
Functions | |
| template<const ObjectDict::DataTypes dt, typename T > | |
| std::string | formatValue (const T &value) |
| template<> | |
| std::string | formatValue< ObjectDict::DEFTYPE_DOMAIN > (const std::string &value) |
| template<> | |
| std::string | formatValue< ObjectDict::DEFTYPE_OCTET_STRING > (const std::string &value) |
| std::size_t | canopen::hash_value (ObjectDict::Key const &k) |
| template<typename T > | |
| T | int_from_string (const std::string &s) |
| template<> | |
| int8_t | int_from_string (const std::string &s) |
| std::ostream & | canopen::operator<< (std::ostream &stream, const ObjectDict::Key &k) |
| template<typename T > | |
| HoldAny | parse_int (boost::property_tree::iptree &pt, const std::string &key) |
| void | parse_object (boost::shared_ptr< ObjectDict > dict, boost::property_tree::iptree &pt, const std::string &name, const uint8_t *sub_index=0) |
| void | parse_objects (boost::shared_ptr< ObjectDict > dict, boost::property_tree::iptree &pt, const std::string &key) |
| template<typename T > | |
| HoldAny | parse_octets (boost::property_tree::iptree &pt, const std::string &key) |
| template<typename T > | |
| HoldAny | parse_typed_value (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | parse_typed_value< String > (boost::property_tree::iptree &pt, const std::string &key) |
| template<typename T > | |
| void | read_integer (T &var, boost::property_tree::iptree &pt, const std::string &key) |
| template<typename T > | |
| T | read_integer (boost::property_tree::iptree &pt, const std::string &key) |
| template<typename T > | |
| void | read_optional (T &var, boost::property_tree::iptree &pt, const std::string &key) |
| void | read_var (ObjectDict::Entry &entry, boost::property_tree::iptree &object) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_DOMAIN > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER16 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER32 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER64 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER8 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_OCTET_STRING > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED16 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED32 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED64 > (boost::property_tree::iptree &pt, const std::string &key) |
| template<> | |
| HoldAny | ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED8 > (boost::property_tree::iptree &pt, const std::string &key) |
| void | set_access (ObjectDict::Entry &entry, std::string access) |
| std::string formatValue | ( | const T & | value | ) |
Definition at line 419 of file objdict.cpp.
| std::string formatValue< ObjectDict::DEFTYPE_DOMAIN > | ( | const std::string & | value | ) |
Definition at line 424 of file objdict.cpp.
| std::string formatValue< ObjectDict::DEFTYPE_OCTET_STRING > | ( | const std::string & | value | ) |
Definition at line 427 of file objdict.cpp.
| T int_from_string | ( | const std::string & | s | ) |
Definition at line 113 of file objdict.cpp.
| uint64_t int_from_string | ( | const std::string & | s | ) |
Definition at line 113 of file objdict.cpp.
| HoldAny parse_int | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 139 of file objdict.cpp.
| void parse_object | ( | boost::shared_ptr< ObjectDict > | dict, |
| boost::property_tree::iptree & | pt, | ||
| const std::string & | name, | ||
| const uint8_t * | sub_index = 0 |
||
| ) |
Definition at line 216 of file objdict.cpp.
| void parse_objects | ( | boost::shared_ptr< ObjectDict > | dict, |
| boost::property_tree::iptree & | pt, | ||
| const std::string & | key | ||
| ) |
Definition at line 257 of file objdict.cpp.
| HoldAny parse_octets | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 148 of file objdict.cpp.
| HoldAny parse_typed_value | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 154 of file objdict.cpp.
| HoldAny parse_typed_value< String > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 158 of file objdict.cpp.
| void read_integer | ( | T & | var, |
| boost::property_tree::iptree & | pt, | ||
| const std::string & | key | ||
| ) |
Definition at line 193 of file objdict.cpp.
| T read_integer | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 197 of file objdict.cpp.
| void read_optional | ( | T & | var, |
| boost::property_tree::iptree & | pt, | ||
| const std::string & | key | ||
| ) |
Definition at line 189 of file objdict.cpp.
| void read_var | ( | ObjectDict::Entry & | entry, |
| boost::property_tree::iptree & | object | ||
| ) |
Definition at line 202 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_DOMAIN > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 179 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER16 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 170 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER32 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 171 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER64 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 172 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_INTEGER8 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 169 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_OCTET_STRING > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 182 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED16 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 175 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED32 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 176 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED64 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 177 of file objdict.cpp.
| HoldAny ReadAnyValue::func< ObjectDict::DEFTYPE_UNSIGNED8 > | ( | boost::property_tree::iptree & | pt, |
| const std::string & | key | ||
| ) |
Definition at line 174 of file objdict.cpp.
| void set_access | ( | ObjectDict::Entry & | entry, |
| std::string | access | ||
| ) |
Definition at line 84 of file objdict.cpp.