NavigationGraphFinder.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RobotAPI/libraries/PriorKnowledge/core/PKFinder.h
>
4
5
namespace
armarx::priorknowledge::navigation_graphs
6
{
7
class
NavigationGraphFinder
:
public
core::PKFinder
8
{
9
10
public
:
11
using
core::PKFinder::PKFinder
;
12
static
const
constexpr
auto
DEFAULT_DIR_TO_IDS
=
"navigation-graphs"
;
13
14
NavigationGraphFinder
(
const
std::filesystem::path& relDir =
DEFAULT_DIR_TO_IDS
) :
15
core::
PKFinder
(relDir)
16
{
17
}
18
19
bool
20
accept
(
const
std::filesystem::path& idPath)
const
final
21
{
22
return
std::filesystem::is_directory(idPath);
23
}
24
25
void
26
registerPropertyDefinitions
(
armarx::PropertyDefinitionsPtr
& defs,
27
const
std::string& prefix =
"pk.finder.navigation."
) final
28
{
29
core::PKFinder::registerPropertyDefinitions
(defs, prefix);
30
}
31
};
32
33
}
// namespace armarx::priorknowledge::navigation_graphs
armarx::priorknowledge::core::PKFinder
The ObjectFinder class.
Definition:
PKFinder.h:25
armarx::priorknowledge::navigation_graphs::NavigationGraphFinder::accept
bool accept(const std::filesystem::path &idPath) const final
Definition:
NavigationGraphFinder.h:20
armarx::priorknowledge::navigation_graphs
Definition:
NavigationGraphFinder.cpp:9
armarx::priorknowledge::core::PKFinder::registerPropertyDefinitions
virtual void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix)
Definition:
PKFinder.cpp:12
PKFinder.h
armarx::priorknowledge::navigation_graphs::NavigationGraphFinder::registerPropertyDefinitions
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix="pk.finder.navigation.") final
Definition:
NavigationGraphFinder.h:26
armarx::priorknowledge::navigation_graphs::NavigationGraphFinder::NavigationGraphFinder
NavigationGraphFinder(const std::filesystem::path &relDir=DEFAULT_DIR_TO_IDS)
Definition:
NavigationGraphFinder.h:14
armarx::priorknowledge::core::PKFinder::PKFinder
PKFinder(const std::filesystem::path &relDir)
Definition:
PKFinder.h:34
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::priorknowledge::navigation_graphs::NavigationGraphFinder::DEFAULT_DIR_TO_IDS
static const constexpr auto DEFAULT_DIR_TO_IDS
Definition:
NavigationGraphFinder.h:12
armarx::priorknowledge::navigation_graphs::NavigationGraphFinder
Definition:
NavigationGraphFinder.h:7
RobotAPI
libraries
PriorKnowledge
navigation_graphs
NavigationGraphFinder.h
Generated on Sat Oct 5 2024 09:14:04 for armarx_documentation by
1.8.17