rospack::Package Class Reference

#include <rospack.h>

List of all members.

Public Types

enum  traversal_order_t { POSTORDER, PREORDER }

Public Member Functions

void accumulate_deps (AccList &acc_list, Package *to)
std::string cpp_message_flags (bool cflags, bool lflags)
 Returns the message flags for this package. If the path/msg or path/srv directories exist, adds appropriate compile/link flags depending on what is requested.
const VecPkgdeps (traversal_order_t order, int depth=0)
const VecPkgdeps1 ()
const std::vector< Package * > & descendants (int depth=0)
VecPkg descendants1 ()
std::string flags (std::string lang, std::string attrib)
std::string manifest_path ()
rospack_tinyxml::TiXmlElementmanifest_root ()
 Package (std::string _path)
std::vector< std::pair
< std::string, std::string > > 
plugins ()
std::string rosdep ()
std::string versioncontrol ()

Static Public Member Functions

static bool is_no_subdirs (std::string path)
static bool is_package (std::string path)

Public Attributes

std::string name
std::string path

Static Public Attributes

static std::vector< Package * > deleted_pkgs
static std::vector< Package * > pkgs

Private Member Functions

const std::vector< Package * > & direct_deps (bool missing_pkg_as_warning=false)
std::string direct_flags (std::string lang, std::string attrib)
bool has_parent (std::string pkg)
void load_manifest ()
 Package (const Package &p)

Private Attributes

std::vector< Package * > _deps
std::vector< Package * > _descendants
std::vector< Package * > _direct_deps
bool deps_calculated
bool descendants_calculated
bool direct_deps_calculated
rospack_tinyxml::TiXmlDocument manifest
bool manifest_loaded

Detailed Description

The Package class contains information about a single package

Definition at line 168 of file rospack.h.


Member Enumeration Documentation

Enumerator:
POSTORDER 
PREORDER 

Definition at line 171 of file rospack.h.


Constructor & Destructor Documentation

rospack::Package::Package ( std::string  _path  ) 
rospack::Package::Package ( const Package p  )  [inline, private]

Definition at line 211 of file rospack.h.


Member Function Documentation

void rospack::Package::accumulate_deps ( AccList acc_list,
Package to 
)

Definition at line 667 of file rospack.cpp.

string rospack::Package::cpp_message_flags ( bool  cflags,
bool  lflags 
)

Returns the message flags for this package. If the path/msg or path/srv directories exist, adds appropriate compile/link flags depending on what is requested.

Parameters:
cflags Whether or not to include compile flags
lflags Whether or not to include link flags

Definition at line 455 of file rospack.cpp.

const VecPkg & rospack::Package::deps ( traversal_order_t  order,
int  depth = 0 
)

Definition at line 158 of file rospack.cpp.

const VecPkg & rospack::Package::deps1 (  ) 

Definition at line 154 of file rospack.cpp.

const vector< Package * > & rospack::Package::descendants ( int  depth = 0  ) 

Definition at line 339 of file rospack.cpp.

VecPkg rospack::Package::descendants1 (  ) 

Definition at line 315 of file rospack.cpp.

const vector< Package * > & rospack::Package::direct_deps ( bool  missing_pkg_as_warning = false  )  [private]

Definition at line 394 of file rospack.cpp.

std::string rospack::Package::direct_flags ( std::string  lang,
std::string  attrib 
) [private]
std::string rospack::Package::flags ( std::string  lang,
std::string  attrib 
)
bool rospack::Package::has_parent ( std::string  pkg  )  [private]
static bool rospack::Package::is_no_subdirs ( std::string  path  )  [static]
static bool rospack::Package::is_package ( std::string  path  )  [static]
void rospack::Package::load_manifest (  )  [private]

Definition at line 639 of file rospack.cpp.

string rospack::Package::manifest_path (  ) 

Definition at line 209 of file rospack.cpp.

rospack_tinyxml::TiXmlElement * rospack::Package::manifest_root (  ) 

Definition at line 654 of file rospack.cpp.

vector< pair< string, string > > rospack::Package::plugins (  ) 

Definition at line 266 of file rospack.cpp.

string rospack::Package::rosdep (  ) 

Definition at line 230 of file rospack.cpp.

string rospack::Package::versioncontrol (  ) 

Definition at line 247 of file rospack.cpp.


Member Data Documentation

std::vector<Package *> rospack::Package::_deps [private]

Definition at line 207 of file rospack.h.

std::vector<Package *> rospack::Package::_descendants [private]

Definition at line 207 of file rospack.h.

std::vector<Package *> rospack::Package::_direct_deps [private]

Definition at line 207 of file rospack.h.

Definition at line 179 of file rospack.h.

Definition at line 206 of file rospack.h.

Definition at line 206 of file rospack.h.

Definition at line 206 of file rospack.h.

Definition at line 208 of file rospack.h.

Definition at line 209 of file rospack.h.

Definition at line 172 of file rospack.h.

Definition at line 172 of file rospack.h.

Definition at line 178 of file rospack.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rospack
Author(s): Morgan Quigley, Brian Gerkey
autogenerated on Fri Jan 11 11:39:44 2013