Classes | Enumerations | Functions | Variables
rospack Namespace Reference

Classes

class  DirectoryCrawlRecord
 
class  Exception
 
class  Rospack
 Package crawler. Create one of these to operate on a package tree. Call public methods inherited from Rosstackage. More...
 
class  ROSPack
 Backward compatibility API for librospack (DEPRECATED). More...
 
class  Rosstack
 Stack crawler. Create one of these to operate on a stack tree. Call public methods inherited from Rosstackage. More...
 
class  Rosstackage
 The base class for package/stack ("stackage") crawlers. Users of the library should use the functionality provided here through one of the derived classes, Rosstack or Rospack. More...
 
class  Stackage
 

Enumerations

enum  traversal_order_t { POSTORDER, PREORDER }
 

Functions

void _gatherDepsFull (Stackage *stackage, bool direct, traversal_order_t order, int depth, boost::unordered_set< Stackage * > &deps_hash, std::vector< Stackage * > &deps, bool get_indented_deps, std::vector< std::string > &indented_deps, bool no_recursion_on_wet, std::vector< std::string > &dep_chain)
 
bool cmpDirectoryCrawlRecord (DirectoryCrawlRecord *i, DirectoryCrawlRecord *j)
 
void deduplicate_tokens (const std::string &instring, bool last, std::string &outstring)
 
tinyxml2::XMLElement * get_manifest_root (Stackage *stackage)
 
bool parse_args (int argc, char **argv, rospack::Rosstackage &rp, po::variables_map &vm)
 
void parse_compiler_flags (const std::string &instring, const std::string &token, bool select, bool last, std::string &outstring)
 
bool rospack_run (int argc, char **argv, rospack::Rosstackage &rp, std::string &output)
 
double time_since_epoch ()
 

Variables

static const char * CATKIN_IGNORE = "CATKIN_IGNORE"
 
static const double DEFAULT_MAX_CACHE_AGE = 60.0
 
static const char * DOTROS_NAME = ".ros"
 
static const std::string g_ros_os = "linux"
 
static const char * MANIFEST_ATTR_NAME = "name"
 
static const char * MANIFEST_ATTR_TYPE = "type"
 
static const char * MANIFEST_ATTR_URL = "url"
 
static const char * MANIFEST_PREFIX = "${prefix}"
 
static const char * MANIFEST_TAG_EXPORT = "export"
 
static const char * MANIFEST_TAG_PACKAGE = "package"
 
static const char * MANIFEST_TAG_ROSDEP = "rosdep"
 
static const char * MANIFEST_TAG_STACK = "stack"
 
static const char * MANIFEST_TAG_VERSIONCONTROL = "versioncontrol"
 
static const int MAX_CRAWL_DEPTH = 1000
 
static const int MAX_DEPENDENCY_DEPTH = 1000
 
static const char * MSG_GEN_GENERATED_DIR = "msg_gen"
 
static const char * MSG_GEN_GENERATED_FILE = "generated"
 
static const char * ROSPACK_CACHE_PREFIX = "rospack_cache"
 
static const char * ROSPACK_MANIFEST_NAME = "manifest.xml"
 
static const char * ROSPACK_NAME = "rospack"
 
static const char * ROSPACK_NOSUBDIRS = "rospack_nosubdirs"
 
static const char * ROSPACKAGE_MANIFEST_NAME = "package.xml"
 
static const char * ROSSTACK_CACHE_PREFIX = "rosstack_cache"
 
static const char * ROSSTACK_MANIFEST_NAME = "stack.xml"
 
static const char * ROSSTACK_NAME = "rosstack"
 
static const char * SRV_GEN_GENERATED_DIR = "srv_gen"
 
static const char * SRV_GEN_GENERATED_FILE = "generated"
 

Enumeration Type Documentation

Enumerator
POSTORDER 
PREORDER 

Definition at line 126 of file rospack.h.

Function Documentation

void rospack::_gatherDepsFull ( Stackage stackage,
bool  direct,
traversal_order_t  order,
int  depth,
boost::unordered_set< Stackage * > &  deps_hash,
std::vector< Stackage * > &  deps,
bool  get_indented_deps,
std::vector< std::string > &  indented_deps,
bool  no_recursion_on_wet,
std::vector< std::string > &  dep_chain 
)

Definition at line 1808 of file rospack.cpp.

bool rospack::cmpDirectoryCrawlRecord ( DirectoryCrawlRecord i,
DirectoryCrawlRecord j 
)

Definition at line 233 of file rospack.cpp.

ROSPACK_DECL void rospack::deduplicate_tokens ( const std::string &  instring,
bool  last,
std::string &  outstring 
)

Definition at line 39 of file utils.cpp.

tinyxml2::XMLElement * rospack::get_manifest_root ( Stackage stackage)

Definition at line 2344 of file rospack.cpp.

bool rospack::parse_args ( int  argc,
char **  argv,
rospack::Rosstackage rp,
po::variables_map &  vm 
)

Definition at line 830 of file rospack_cmdline.cpp.

ROSPACK_DECL void rospack::parse_compiler_flags ( const std::string &  instring,
const std::string &  token,
bool  select,
bool  last,
std::string &  outstring 
)

Definition at line 75 of file utils.cpp.

ROSPACK_DECL bool rospack::rospack_run ( int  argc,
char **  argv,
rospack::Rosstackage rp,
std::string &  output 
)

defined(WIN32)

Definition at line 49 of file rospack_cmdline.cpp.

double rospack::time_since_epoch ( )

Definition at line 2357 of file rospack.cpp.

Variable Documentation

const char* rospack::CATKIN_IGNORE = "CATKIN_IGNORE"
static

Definition at line 100 of file rospack.cpp.

const double rospack::DEFAULT_MAX_CACHE_AGE = 60.0
static

Definition at line 115 of file rospack.cpp.

const char* rospack::DOTROS_NAME = ".ros"
static

Definition at line 101 of file rospack.cpp.

const std::string rospack::g_ros_os = "linux"
static

Definition at line 126 of file rospack.cpp.

const char* rospack::MANIFEST_ATTR_NAME = "name"
static

Definition at line 109 of file rospack.cpp.

const char* rospack::MANIFEST_ATTR_TYPE = "type"
static

Definition at line 110 of file rospack.cpp.

const char* rospack::MANIFEST_ATTR_URL = "url"
static

Definition at line 111 of file rospack.cpp.

const char* rospack::MANIFEST_PREFIX = "${prefix}"
static

Definition at line 112 of file rospack.cpp.

const char* rospack::MANIFEST_TAG_EXPORT = "export"
static

Definition at line 108 of file rospack.cpp.

const char* rospack::MANIFEST_TAG_PACKAGE = "package"
static

Definition at line 92 of file rospack.cpp.

const char* rospack::MANIFEST_TAG_ROSDEP = "rosdep"
static

Definition at line 106 of file rospack.cpp.

const char* rospack::MANIFEST_TAG_STACK = "stack"
static

Definition at line 93 of file rospack.cpp.

const char* rospack::MANIFEST_TAG_VERSIONCONTROL = "versioncontrol"
static

Definition at line 107 of file rospack.cpp.

const int rospack::MAX_CRAWL_DEPTH = 1000
static

Definition at line 113 of file rospack.cpp.

const int rospack::MAX_DEPENDENCY_DEPTH = 1000
static

Definition at line 114 of file rospack.cpp.

const char* rospack::MSG_GEN_GENERATED_DIR = "msg_gen"
static

Definition at line 102 of file rospack.cpp.

const char* rospack::MSG_GEN_GENERATED_FILE = "generated"
static

Definition at line 103 of file rospack.cpp.

const char* rospack::ROSPACK_CACHE_PREFIX = "rospack_cache"
static

Definition at line 97 of file rospack.cpp.

const char* rospack::ROSPACK_MANIFEST_NAME = "manifest.xml"
static

Definition at line 94 of file rospack.cpp.

const char* rospack::ROSPACK_NAME = "rospack"
static

Definition at line 42 of file utils.h.

const char* rospack::ROSPACK_NOSUBDIRS = "rospack_nosubdirs"
static

Definition at line 99 of file rospack.cpp.

const char* rospack::ROSPACKAGE_MANIFEST_NAME = "package.xml"
static

Definition at line 95 of file rospack.cpp.

const char* rospack::ROSSTACK_CACHE_PREFIX = "rosstack_cache"
static

Definition at line 98 of file rospack.cpp.

const char* rospack::ROSSTACK_MANIFEST_NAME = "stack.xml"
static

Definition at line 96 of file rospack.cpp.

const char* rospack::ROSSTACK_NAME = "rosstack"
static

Definition at line 43 of file utils.h.

const char* rospack::SRV_GEN_GENERATED_DIR = "srv_gen"
static

Definition at line 104 of file rospack.cpp.

const char* rospack::SRV_GEN_GENERATED_FILE = "generated"
static

Definition at line 105 of file rospack.cpp.



rospack
Author(s): Brian Gerkey, Morgan Quigley, Dirk Thomas
autogenerated on Tue Mar 5 2019 03:26:37