Class SplitROSArgs

Class Documentation

class SplitROSArgs

a class for splitting ROS arguments out of input arguments

Public Functions

SplitROSArgs(const int argc, const char *const *argv)

find where ROS Args start

Parameters:
  • argc – - argument count

  • argv – - pointer to first argument data

int argc() const

return original argc

Returns:

original argc

int argc_without_ros() const

return argc if ROS args are taken out

Returns:

argc if ROS args are taken out

const char *const *argv() const

return original argv

Returns:

original argv

const char *const *argv_without_ros() const

return argv if ROS args are taken out

Returns:

argv if ROS args are taken out