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 41 of file rospack_backcompat.h.


Constructor & Destructor Documentation

Constructor.

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

Definition at line 50 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 73 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 79 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 44 of file rospack_backcompat.h.


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


rospack
Author(s): Brian Gerkey/gerkey@willowgarage.com, Morgan Quigley/mquigley@cs.stanford.edu
autogenerated on Fri Jan 3 2014 11:51:40