librospack
Public Member Functions | List of all members
rospack::ROSPack Class Reference

Backward compatibility API for librospack (DEPRECATED). More...

#include <rospack_backcompat.h>

Public Member Functions

 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...
 
std::string getOutput ()
 Get the output from the last successful run() call. More...
 
bool is_quiet ()
 Are we operating in quiet mode? More...
 

Detailed Description

Backward compatibility API for librospack (DEPRECATED).

Deprecated:
Used by roslib. Don't use in new code.

Constructor & Destructor Documentation

§ ROSPack()

rospack::ROSPack::ROSPack ( )
inline

Constructor.

Deprecated:
Used by roslib. Don't use in new code.

Member Function Documentation

§ getOutput()

std::string rospack::ROSPack::getOutput ( )
inline

Get the output from the last successful run() call.

Returns
The result string.
Deprecated:
Used by roslib. Don't use in new code.

§ is_quiet()

bool rospack::ROSPack::is_quiet ( )
inline

Are we operating in quiet mode?

Returns
Always true.
Deprecated:
Used by roslib. Don't use in new code.

§ run() [1/2]

int rospack::ROSPack::run ( int  argc,
char **  argv 
)

Run rospack with the given arguments. Call getOutput() to get the result.

Parameters
argcNumber of arguments in argv.
argvList of arguments.
Returns
Zero if the call succeeded, non-zero otherwise.
Deprecated:
Used by roslib. Don't use in new code.

§ run() [2/2]

int rospack::ROSPack::run ( const std::string &  cmd)

Run rospack with the given arguments. Call getOutput() to get the result.

Parameters
cmdSpace-separated list of arguments.
Returns
Zero if the call succeeded, non-zero otherwise.
Deprecated:
Used by roslib. Don't use in new code.

The documentation for this class was generated from the following file: