src
package_registry.h
Go to the documentation of this file.
1
// Provides cached ros::package::getPath() lookups
2
// Author: Max Schwarz <max.schwarz@uni-bonn.de>
3
4
#ifndef PACKAGE_REGISTRY_H
5
#define PACKAGE_REGISTRY_H
6
7
#include <string>
8
9
namespace
rosmon
10
{
11
12
class
PackageRegistry
13
{
14
public
:
15
static
std::string
getPath
(
const
std::string&
package
);
16
17
static
std::string
getExecutable
(
const
std::string&
package
,
const
std::string& name);
18
29
static
std::string
findPathToFile
(
const
std::string&
package
,
const
std::string& name);
30
};
31
32
}
33
34
#endif
35
rosmon
Definition:
diagnostics_publisher.cpp:34
rosmon::PackageRegistry::findPathToFile
static std::string findPathToFile(const std::string &package, const std::string &name)
Find path to a package file.
Definition:
package_registry.cpp:136
package
string package
rosmon::PackageRegistry
Definition:
package_registry.h:12
rosmon::PackageRegistry::getPath
static std::string getPath(const std::string &package)
Definition:
package_registry.cpp:57
rosmon::PackageRegistry::getExecutable
static std::string getExecutable(const std::string &package, const std::string &name)
Definition:
package_registry.cpp:122
rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Feb 21 2024 04:01:14