Static Public Member Functions | List of all members
rosmon::PackageRegistry Class Reference

#include <package_registry.h>

Static Public Member Functions

static std::string findPathToFile (const std::string &package, const std::string &name)
 Find path to a package file. More...
 
static std::string getExecutable (const std::string &package, const std::string &name)
 
static std::string getPath (const std::string &package)
 

Detailed Description

Definition at line 12 of file package_registry.h.

Member Function Documentation

std::string rosmon::PackageRegistry::findPathToFile ( const std::string &  package,
const std::string &  name 
)
static

Find path to a package file.

This function tries to find the package path (src, libexec, share) that contains the mentioned file/directory. This is used for $(find ...)/... lookups.

Parameters
packageROS package name
namerelative path inside the package

Definition at line 136 of file package_registry.cpp.

std::string rosmon::PackageRegistry::getExecutable ( const std::string &  package,
const std::string &  name 
)
static

Definition at line 122 of file package_registry.cpp.

std::string rosmon::PackageRegistry::getPath ( const std::string &  package)
static

Definition at line 57 of file package_registry.cpp.


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


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12