3 #ifndef ROBOWFLEX_UTIL_
4 #define ROBOWFLEX_UTIL_
39 virtual const char *
what()
const throw()
62 ROS(
int argc,
char **argv,
const std::string &name =
"robowflex",
unsigned int threads = 1);
Exception that contains a message and an error code.
const std::string message_
Error message.
Exception(int value, const std::string &message)
Constructor.
int getValue() const
Get error code.
virtual const char * what() const
const int value_
Error code.
const std::string & getMessage() const
Get error message.
RAII-pattern for starting up ROS.
ROS(int argc, char **argv, const std::string &name="robowflex", unsigned int threads=1)
Constructor. Start-up ROS. If Boost version is greater than 1.64, rosmaster is started if it is not a...
std::vector< std::string > getArgs() const
Get command-line arguments without ROS parameters.
void wait() const
Waits for the process to be killed via some means (normally Ctrl-C)
~ROS()
Destructor. Shutdown ROS.
Main namespace. Contains all library classes and functions.
void explode()
Trigger a SEGSEGV.