#include <rosstack.h>
Public Types | |
enum | traversal_order_t { POSTORDER, PREORDER } |
Public Member Functions | |
const VecStack & | deps (traversal_order_t order, int depth=0) |
const VecStack & | deps1 () |
const VecStack & | descendants (int depth=0) |
VecStack | descendants1 () |
std::string | manifest_path () |
rospack_tinyxml::TiXmlElement * | manifest_root () |
Stack (std::string _path) | |
Static Public Member Functions | |
static bool | is_no_subdirs (const std::string &path) |
static bool | is_package (const std::string &path) |
static bool | is_stack (const std::string &path) |
Public Attributes | |
std::string | name |
std::string | path |
Static Public Attributes | |
static std::vector< Stack * > | stacks |
Private Member Functions | |
const VecStack & | direct_deps (bool missing_pkg_as_warning=false) |
bool | has_parent (std::string stk) |
void | load_manifest () |
Stack (const Stack &p) | |
Private Attributes | |
VecStack | _deps |
VecStack | _descendants |
VecStack | _direct_deps |
bool | deps_calculated |
bool | descendants_calculated |
bool | direct_deps_calculated |
rospack_tinyxml::TiXmlDocument | manifest |
bool | manifest_loaded |
The Stack class contains information about a single stack
Definition at line 74 of file rosstack.h.
Definition at line 77 of file rosstack.h.
rosstack::Stack::Stack | ( | std::string | _path | ) |
rosstack::Stack::Stack | ( | const Stack & | p | ) | [inline, private] |
Definition at line 98 of file rosstack.h.
const VecStack & Stack::deps | ( | traversal_order_t | order, | |
int | depth = 0 | |||
) |
Definition at line 188 of file rosstack.cpp.
const VecStack & Stack::deps1 | ( | ) |
Definition at line 184 of file rosstack.cpp.
const VecStack & Stack::descendants | ( | int | depth = 0 |
) |
Definition at line 263 of file rosstack.cpp.
VecStack Stack::descendants1 | ( | ) |
Definition at line 244 of file rosstack.cpp.
const VecStack & Stack::direct_deps | ( | bool | missing_pkg_as_warning = false |
) | [private] |
Definition at line 318 of file rosstack.cpp.
bool rosstack::Stack::has_parent | ( | std::string | stk | ) | [private] |
static bool rosstack::Stack::is_no_subdirs | ( | const std::string & | path | ) | [static] |
static bool rosstack::Stack::is_package | ( | const std::string & | path | ) | [static] |
static bool rosstack::Stack::is_stack | ( | const std::string & | path | ) | [static] |
void Stack::load_manifest | ( | ) | [private] |
Definition at line 368 of file rosstack.cpp.
string Stack::manifest_path | ( | ) |
Definition at line 239 of file rosstack.cpp.
rospack_tinyxml::TiXmlElement * Stack::manifest_root | ( | ) |
Definition at line 385 of file rosstack.cpp.
VecStack rosstack::Stack::_deps [private] |
Definition at line 94 of file rosstack.h.
VecStack rosstack::Stack::_descendants [private] |
Definition at line 94 of file rosstack.h.
VecStack rosstack::Stack::_direct_deps [private] |
Definition at line 94 of file rosstack.h.
bool rosstack::Stack::deps_calculated [private] |
Definition at line 93 of file rosstack.h.
bool rosstack::Stack::descendants_calculated [private] |
Definition at line 93 of file rosstack.h.
bool rosstack::Stack::direct_deps_calculated [private] |
Definition at line 93 of file rosstack.h.
Definition at line 95 of file rosstack.h.
bool rosstack::Stack::manifest_loaded [private] |
Definition at line 96 of file rosstack.h.
std::string rosstack::Stack::name |
Definition at line 78 of file rosstack.h.
std::string rosstack::Stack::path |
Definition at line 78 of file rosstack.h.
VecStack Stack::stacks [static] |
Definition at line 79 of file rosstack.h.