#include <parameters_bag.h>
Classes | |
struct | ParameterBagShortcut |
Public Member Functions | |
ParameterBagShortcut< int > | createParam (ros::NodeHandle &n, const std::string &name, int v) |
ParameterBagShortcut< double > | createParam (ros::NodeHandle &n, const std::string &name, double v) |
void | createParam (ros::NodeHandle &n, const std::string &name, std::string v) |
const std::map< std::string, double > & | getDoubles () const |
const std::map< std::string, int > & | getInts () const |
bool | getMax (const std::string &name, int &val) |
bool | getMax (const std::string &name, double &val) |
bool | getMin (const std::string &name, int &val) |
bool | getMin (const std::string &name, double &val) |
bool | getParam (const std::string &name, int &val) |
bool | getParam (const std::string &name, double &val) |
bool | getParam (const std::string &name, std::string &val) |
bool | getStep (const std::string &name, int &val) |
bool | getStep (const std::string &name, double &val) |
const std::map< std::string, std::string > & | getStrings () const |
void | setParam (const std::string &name, int v) |
void | setParam (const std::string &name, const std::string &v) |
void | setParam (const std::string &name, double v) |
Private Attributes | |
std::map< std::string, double > | params_double_ |
std::map< std::string, int > | params_int_ |
std::map< std::string, std::string > | params_string_ |
Definition at line 67 of file parameters_bag.h.
ParameterBagShortcut<int> ParameterBag::createParam | ( | ros::NodeHandle & | n, |
const std::string & | name, | ||
int | v | ||
) | [inline] |
Definition at line 111 of file parameters_bag.h.
ParameterBagShortcut<double> ParameterBag::createParam | ( | ros::NodeHandle & | n, |
const std::string & | name, | ||
double | v | ||
) | [inline] |
Definition at line 127 of file parameters_bag.h.
void ParameterBag::createParam | ( | ros::NodeHandle & | n, |
const std::string & | name, | ||
std::string | v | ||
) | [inline] |
Definition at line 143 of file parameters_bag.h.
const std::map<std::string, double>& ParameterBag::getDoubles | ( | ) | const [inline] |
Definition at line 108 of file parameters_bag.h.
const std::map<std::string, int>& ParameterBag::getInts | ( | ) | const [inline] |
Definition at line 107 of file parameters_bag.h.
bool ParameterBag::getMax | ( | const std::string & | name, |
int & | val | ||
) | [inline] |
Definition at line 169 of file parameters_bag.h.
bool ParameterBag::getMax | ( | const std::string & | name, |
double & | val | ||
) | [inline] |
Definition at line 170 of file parameters_bag.h.
bool ParameterBag::getMin | ( | const std::string & | name, |
int & | val | ||
) | [inline] |
Definition at line 171 of file parameters_bag.h.
bool ParameterBag::getMin | ( | const std::string & | name, |
double & | val | ||
) | [inline] |
Definition at line 172 of file parameters_bag.h.
bool ParameterBag::getParam | ( | const std::string & | name, |
int & | val | ||
) | [inline] |
Definition at line 152 of file parameters_bag.h.
bool ParameterBag::getParam | ( | const std::string & | name, |
double & | val | ||
) | [inline] |
Definition at line 157 of file parameters_bag.h.
bool ParameterBag::getParam | ( | const std::string & | name, |
std::string & | val | ||
) | [inline] |
Definition at line 162 of file parameters_bag.h.
bool ParameterBag::getStep | ( | const std::string & | name, |
int & | val | ||
) | [inline] |
Definition at line 173 of file parameters_bag.h.
bool ParameterBag::getStep | ( | const std::string & | name, |
double & | val | ||
) | [inline] |
Definition at line 174 of file parameters_bag.h.
const std::map<std::string, std::string>& ParameterBag::getStrings | ( | ) | const [inline] |
Definition at line 109 of file parameters_bag.h.
void ParameterBag::setParam | ( | const std::string & | name, |
int | v | ||
) | [inline] |
Definition at line 148 of file parameters_bag.h.
void ParameterBag::setParam | ( | const std::string & | name, |
const std::string & | v | ||
) | [inline] |
Definition at line 149 of file parameters_bag.h.
void ParameterBag::setParam | ( | const std::string & | name, |
double | v | ||
) | [inline] |
Definition at line 150 of file parameters_bag.h.
std::map<std::string, double> ParameterBag::params_double_ [private] |
Definition at line 71 of file parameters_bag.h.
std::map<std::string, int> ParameterBag::params_int_ [private] |
Definition at line 70 of file parameters_bag.h.
std::map<std::string, std::string> ParameterBag::params_string_ [private] |
Definition at line 72 of file parameters_bag.h.