Public Member Functions | Private Attributes
rospack::ROSPack Class Reference

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

#include <rospack_backcompat.h>

List of all members.

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_

Detailed Description

Backward compatibility API for librospack (DEPRECATED).

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

Definition at line 42 of file rospack_backcompat.h.


Constructor & Destructor Documentation

Constructor.

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

Definition at line 51 of file rospack_backcompat.h.


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.

Definition at line 74 of file rospack_backcompat.h.

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.

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.

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.

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.

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.

Definition at line 55 of file rospack_backcompat.cpp.


Member Data Documentation

std::string rospack::ROSPack::output_ [private]

Definition at line 45 of file rospack_backcompat.h.


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


rospack
Author(s): Brian Gerkey, Morgan Quigley, Dirk Thomas
autogenerated on Fri Aug 28 2015 12:41:42