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. More... | |
bool | is_quiet () |
Are we operating in quiet mode? More... | |
ROSPack () | |
Constructor. More... | |
int | run (int argc, char **argv) |
Run rospack with the given arguments. Call getOutput() to get the result. More... | |
int | run (const std::string &cmd) |
Run rospack with the given arguments. Call getOutput() to get the result. More... | |
Private Attributes | |
std::string | output_ |
Backward compatibility API for librospack (DEPRECATED).
Definition at line 42 of file rospack_backcompat.h.
|
inline |
Constructor.
Definition at line 51 of file rospack_backcompat.h.
|
inline |
Get the output from the last successful run() call.
Definition at line 74 of file rospack_backcompat.h.
|
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.
|
private |
Definition at line 45 of file rospack_backcompat.h.