NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
ff_util::ConfigServer Class Reference

#include <config_server.h>

Public Member Functions

 ConfigServer ()
 
virtual ~ConfigServer ()
 
void Initialize (ros::NodeHandle *private_nh, const std::string &fname)
 
void SetPath (const std::string &pname)
 
void AddFile (const std::string &fname)
 
bool Listen ()
 
bool Listen (ConfigCallback f)
 
template<typename T >
bool Get (const std::string &name, T &value)
 
template<typename T >
bool Set (const std::string &name, const T &value)
 
template<typename T >
Get (const std::string &name)
 
template<typename T >
bool Lim (const std::string &name, const std::map< T, std::string > &vals)
 
std::vector< diagnostic_msgs::KeyValue > Dump ()
 
config_reader::ConfigReaderGetConfigReader ()
 
bool Reconfigure (dynamic_reconfigure::Config &request)
 
template<>
bool Get (const std::string &name, int &value)
 
template<>
bool Get (const std::string &name, double &value)
 
template<>
bool Get (const std::string &name, bool &value)
 
template<>
bool Set (const std::string &name, const int &value)
 
template<>
bool Set (const std::string &name, const double &value)
 
template<>
bool Set (const std::string &name, const bool &value)
 
template<>
bool Lim (const std::string &name, const std::map< int, std::string > &vals)
 
template<>
bool Lim (const std::string &name, const std::map< double, std::string > &vals)
 
template<>
bool Lim (const std::string &name, const std::map< bool, std::string > &vals)
 
template<>
bool Get (const std::string &name, bool &value)
 
template<>
bool Set (const std::string &name, const bool &value)
 
template<>
bool Lim (const std::string &name, const std::map< bool, std::string > &vals)
 
template<>
bool Get (const std::string &name, int &value)
 
template<>
bool Set (const std::string &name, const int &value)
 
template<>
bool Lim (const std::string &name, const std::map< int, std::string > &vals)
 
template<>
bool Get (const std::string &name, double &value)
 
template<>
bool Set (const std::string &name, const double &value)
 
template<>
bool Lim (const std::string &name, const std::map< double, std::string > &vals)
 
template<>
bool Get (const std::string &name, std::string &value)
 
template<>
bool Set (const std::string &name, const std::string &value)
 
template<>
bool Lim (const std::string &name, const std::map< std::string, std::string > &vals)
 

Constructor & Destructor Documentation

◆ ConfigServer()

ff_util::ConfigServer::ConfigServer ( )

◆ ~ConfigServer()

ff_util::ConfigServer::~ConfigServer ( )
virtual

Member Function Documentation

◆ AddFile()

void ff_util::ConfigServer::AddFile ( const std::string &  fname)

◆ Dump()

std::vector< diagnostic_msgs::KeyValue > ff_util::ConfigServer::Dump ( )

◆ Get() [1/9]

template<typename T >
T ff_util::ConfigServer::Get ( const std::string &  name)
inline

◆ Get() [2/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
bool &  value 
)

◆ Get() [3/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
bool &  value 
)

◆ Get() [4/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
double &  value 
)

◆ Get() [5/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
double &  value 
)

◆ Get() [6/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
int &  value 
)

◆ Get() [7/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
int &  value 
)

◆ Get() [8/9]

template<>
bool ff_util::ConfigServer::Get ( const std::string &  name,
std::string &  value 
)

◆ Get() [9/9]

template<typename T >
bool ff_util::ConfigServer::Get ( const std::string &  name,
T &  value 
)

◆ GetConfigReader()

config_reader::ConfigReader * ff_util::ConfigServer::GetConfigReader ( )

◆ Initialize()

void ff_util::ConfigServer::Initialize ( ros::NodeHandle *  private_nh,
const std::string &  fname 
)

◆ Lim() [1/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< bool, std::string > &  vals 
)

◆ Lim() [2/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< bool, std::string > &  vals 
)

◆ Lim() [3/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< double, std::string > &  vals 
)

◆ Lim() [4/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< double, std::string > &  vals 
)

◆ Lim() [5/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< int, std::string > &  vals 
)

◆ Lim() [6/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< int, std::string > &  vals 
)

◆ Lim() [7/8]

template<>
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< std::string, std::string > &  vals 
)

◆ Lim() [8/8]

template<typename T >
bool ff_util::ConfigServer::Lim ( const std::string &  name,
const std::map< T, std::string > &  vals 
)

◆ Listen() [1/2]

bool ff_util::ConfigServer::Listen ( )

◆ Listen() [2/2]

bool ff_util::ConfigServer::Listen ( ConfigCallback  f)

◆ Reconfigure()

bool ff_util::ConfigServer::Reconfigure ( dynamic_reconfigure::Config &  request)

◆ Set() [1/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const bool &  value 
)

◆ Set() [2/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const bool &  value 
)

◆ Set() [3/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const double &  value 
)

◆ Set() [4/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const double &  value 
)

◆ Set() [5/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const int &  value 
)

◆ Set() [6/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const int &  value 
)

◆ Set() [7/8]

template<>
bool ff_util::ConfigServer::Set ( const std::string &  name,
const std::string &  value 
)

◆ Set() [8/8]

template<typename T >
bool ff_util::ConfigServer::Set ( const std::string &  name,
const T &  value 
)

◆ SetPath()

void ff_util::ConfigServer::SetPath ( const std::string &  pname)

The documentation for this class was generated from the following files: