Backward compatibility API for librospack (DEPRECATED). More...
#include <rospack_backcompat.h>
Public Member Functions | |
| 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. | |
| std::string | getOutput () |
| Get the output from the last successful run() call. | |
| bool | is_quiet () |
| Are we operating in quiet mode? | |
Backward compatibility API for librospack (DEPRECATED).
| rospack::ROSPack::ROSPack | ( | ) | [inline] |
Constructor.
| std::string rospack::ROSPack::getOutput | ( | ) | [inline] |
Get the output from the last successful run() call.
| bool rospack::ROSPack::is_quiet | ( | ) | [inline] |
Are we operating in quiet mode?
| 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. |
| 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. |
1.6.1