rospack::ROSPack Class Reference

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

#include <rospack_backcompat.h>

List of all members.

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?

Detailed Description

Backward compatibility API for librospack (DEPRECATED).

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

Constructor & Destructor Documentation

rospack::ROSPack::ROSPack (  )  [inline]

Constructor.

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

Member Function Documentation

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.
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.
int rospack::ROSPack::run ( const std::string &  cmd  ) 

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

Parameters:
cmd Space-separated list of arguments.
Returns:
Zero if the call succeeded, non-zero otherwise.
Deprecated:
Used by roslib. Don't use in new code.
int rospack::ROSPack::run ( int  argc,
char **  argv 
)

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

Parameters:
argc Number of arguments in argv.
argv 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:
 All Classes Functions

Generated on 26 Aug 2013 for librospack by  doxygen 1.6.1