Macros | Functions
config.cpp File Reference
#include <cstring>
#include <sick_scan/sick_ros_wrapper.h>
#include "sick_scansegment_xd/config.h"
#include <sick_scan/sick_scan_common_tcp.h>
#include <sick_scan/sick_generic_parser.h>
Include dependency graph for config.cpp:

Go to the source code of this file.

Macros

#define ROS_DECL_GET_PARAMETER(node, name, value)   do{rosDeclareParam((node),(name),(value));rosGetParam((node),(name),(value));}while(false)
 

Functions

static bool setOptionalArgument (const std::map< std::string, std::string > &key_value_pairs, const std::string &key, bool &argument)
 
static bool setOptionalArgument (const std::map< std::string, std::string > &key_value_pairs, const std::string &key, double &argument)
 
static bool setOptionalArgument (const std::map< std::string, std::string > &key_value_pairs, const std::string &key, float &argument)
 
static bool setOptionalArgument (const std::map< std::string, std::string > &key_value_pairs, const std::string &key, int &argument)
 
static bool setOptionalArgument (const std::map< std::string, std::string > &key_value_pairs, const std::string &key, std::string &argument)
 

Macro Definition Documentation

◆ ROS_DECL_GET_PARAMETER

#define ROS_DECL_GET_PARAMETER (   node,
  name,
  value 
)    do{rosDeclareParam((node),(name),(value));rosGetParam((node),(name),(value));}while(false)

Definition at line 59 of file config.cpp.

Function Documentation

◆ setOptionalArgument() [1/5]

static bool setOptionalArgument ( const std::map< std::string, std::string > &  key_value_pairs,
const std::string &  key,
bool &  argument 
)
static

Lookup a table of optional key value pairs and overwrite argument if key found in table

Definition at line 75 of file config.cpp.

◆ setOptionalArgument() [2/5]

static bool setOptionalArgument ( const std::map< std::string, std::string > &  key_value_pairs,
const std::string &  key,
double &  argument 
)
static

Lookup a table of optional key value pairs and overwrite argument if key found in table

Definition at line 114 of file config.cpp.

◆ setOptionalArgument() [3/5]

static bool setOptionalArgument ( const std::map< std::string, std::string > &  key_value_pairs,
const std::string &  key,
float &  argument 
)
static

Lookup a table of optional key value pairs and overwrite argument if key found in table

Definition at line 101 of file config.cpp.

◆ setOptionalArgument() [4/5]

static bool setOptionalArgument ( const std::map< std::string, std::string > &  key_value_pairs,
const std::string &  key,
int &  argument 
)
static

Lookup a table of optional key value pairs and overwrite argument if key found in table

Definition at line 88 of file config.cpp.

◆ setOptionalArgument() [5/5]

static bool setOptionalArgument ( const std::map< std::string, std::string > &  key_value_pairs,
const std::string &  key,
std::string &  argument 
)
static

Lookup a table of optional key value pairs and overwrite argument if key found in table

Definition at line 62 of file config.cpp.



sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:13