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

◆ traversal_order_t

Enumerator
POSTORDER 
PREORDER 

Definition at line 126 of file rospack.h.

Function Documentation

◆ _gatherDepsFull()

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 1823 of file rospack.cpp.

◆ cmpDirectoryCrawlRecord()

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

Definition at line 232 of file rospack.cpp.

◆ deduplicate_tokens()

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

Definition at line 39 of file utils.cpp.

◆ get_manifest_root()

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

Definition at line 2369 of file rospack.cpp.

◆ parse_args()

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

Definition at line 820 of file rospack_cmdline.cpp.

◆ parse_compiler_flags()

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_run()

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.

◆ time_since_epoch()

double rospack::time_since_epoch ( )

Definition at line 2382 of file rospack.cpp.

Variable Documentation

◆ CATKIN_IGNORE

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

Definition at line 101 of file rospack.cpp.

◆ DEFAULT_MAX_CACHE_AGE

const double rospack::DEFAULT_MAX_CACHE_AGE = 60.0
static

Definition at line 116 of file rospack.cpp.

◆ DOTROS_NAME

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

Definition at line 102 of file rospack.cpp.

◆ g_ros_os

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

Definition at line 127 of file rospack.cpp.

◆ MANIFEST_ATTR_NAME

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

Definition at line 110 of file rospack.cpp.

◆ MANIFEST_ATTR_TYPE

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

Definition at line 111 of file rospack.cpp.

◆ MANIFEST_ATTR_URL

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

Definition at line 112 of file rospack.cpp.

◆ MANIFEST_PREFIX

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

Definition at line 113 of file rospack.cpp.

◆ MANIFEST_TAG_EXPORT

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

Definition at line 109 of file rospack.cpp.

◆ MANIFEST_TAG_PACKAGE

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

Definition at line 93 of file rospack.cpp.

◆ MANIFEST_TAG_ROSDEP

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

Definition at line 107 of file rospack.cpp.

◆ MANIFEST_TAG_STACK

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

Definition at line 94 of file rospack.cpp.

◆ MANIFEST_TAG_VERSIONCONTROL

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

Definition at line 108 of file rospack.cpp.

◆ MAX_CRAWL_DEPTH

const int rospack::MAX_CRAWL_DEPTH = 1000
static

Definition at line 114 of file rospack.cpp.

◆ MAX_DEPENDENCY_DEPTH

const int rospack::MAX_DEPENDENCY_DEPTH = 1000
static

Definition at line 115 of file rospack.cpp.

◆ MSG_GEN_GENERATED_DIR

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

Definition at line 103 of file rospack.cpp.

◆ MSG_GEN_GENERATED_FILE

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

Definition at line 104 of file rospack.cpp.

◆ ROSPACK_CACHE_PREFIX

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

Definition at line 98 of file rospack.cpp.

◆ ROSPACK_MANIFEST_NAME

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

Definition at line 95 of file rospack.cpp.

◆ ROSPACK_NAME

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

Definition at line 42 of file utils.h.

◆ ROSPACK_NOSUBDIRS

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

Definition at line 100 of file rospack.cpp.

◆ ROSPACKAGE_MANIFEST_NAME

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

Definition at line 96 of file rospack.cpp.

◆ ROSSTACK_CACHE_PREFIX

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

Definition at line 99 of file rospack.cpp.

◆ ROSSTACK_MANIFEST_NAME

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

Definition at line 97 of file rospack.cpp.

◆ ROSSTACK_NAME

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

Definition at line 43 of file utils.h.

◆ SRV_GEN_GENERATED_DIR

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

Definition at line 105 of file rospack.cpp.

◆ SRV_GEN_GENERATED_FILE

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

Definition at line 106 of file rospack.cpp.



rospack
Author(s): Brian Gerkey, Morgan Quigley, Dirk Thomas
autogenerated on Wed Mar 2 2022 00:54:50