dynamic_graph_manager
device.cpp File Reference
#include <iostream>
#include "yaml_cpp_catkin/yaml_eigen.h"
#include <dynamic-graph/all-commands.h>
#include <dynamic-graph/debug.h>
#include <dynamic-graph/factory.h>
#include <dynamic-graph/linear-algebra.h>
#include <dynamic_graph_manager/device.hh>
Include dependency graph for device.cpp:

Functions

constexpr unsigned int str2int (const char *str, int h=0)
 str2int used in the switch case, it allows to convert in compile time strings to int More...
 
 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (Device, "Device")
 dynamic_graph::Device::CLASS_NAME must be the name as the actual device class.
 

Detailed Description

Author
Maximilien Naveau (maxim.nosp@m.ilie.nosp@m.n.nav.nosp@m.eau@.nosp@m.gmail.nosp@m..com)
License:
License BSD-3-Clause
Date
2019-05-22

Function Documentation

◆ str2int()

constexpr unsigned int str2int ( const char *  str,
int  h = 0 
)

str2int used in the switch case, it allows to convert in compile time strings to int

Parameters
stris the string to convert
his the index of the string to start with
Returns
an integer that correspond to the string