Backward compatibility API for librospack (DEPRECATED). More...
#include <rospack_backcompat.h>
Public Member Functions | |
std::string | getOutput () |
Get the output from the last successful run() call. | |
bool | is_quiet () |
Are we operating in quiet mode? | |
ROSPack () | |
Constructor. | |
int | run (int argc, char **argv) |
Run rospack with the given arguments. Call getOutput() to get the result. | |
int | run (const std::string &cmd) |
Run rospack with the given arguments. Call getOutput() to get the result. | |
Private Attributes | |
std::string | output_ |
Backward compatibility API for librospack (DEPRECATED).
Definition at line 42 of file rospack_backcompat.h.
rospack::ROSPack::ROSPack | ( | ) | [inline] |
Constructor.
Definition at line 51 of file rospack_backcompat.h.
std::string rospack::ROSPack::getOutput | ( | ) | [inline] |
Get the output from the last successful run() call.
Definition at line 74 of file rospack_backcompat.h.
bool rospack::ROSPack::is_quiet | ( | ) | [inline] |
Are we operating in quiet mode?
Definition at line 80 of file rospack_backcompat.h.
int rospack::ROSPack::run | ( | int | argc, |
char ** | argv | ||
) |
Run rospack with the given arguments. Call getOutput() to get the result.
argc | Number of arguments in argv. |
argv | List of arguments. |
Definition at line 41 of file rospack_backcompat.cpp.
int rospack::ROSPack::run | ( | const std::string & | cmd | ) |
Run rospack with the given arguments. Call getOutput() to get the result.
cmd | Space-separated list of arguments. |
Definition at line 56 of file rospack_backcompat.cpp.
std::string rospack::ROSPack::output_ [private] |
Definition at line 45 of file rospack_backcompat.h.