NavigationGraphFinder.h
Go to the documentation of this file.
1#pragma once
2
4
6{
8 {
9
10 public:
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
27 const std::string& prefix = "pk.finder.navigation.") final
28 {
30 }
31 };
32
33} // namespace armarx::priorknowledge::navigation_graphs
The ObjectFinder class.
Definition PKFinder.h:26
virtual void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix)
Definition PKFinder.cpp:12
PKFinder(const std::filesystem::path &relDir)
Definition PKFinder.h:34
NavigationGraphFinder(const std::filesystem::path &relDir=DEFAULT_DIR_TO_IDS)
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix="pk.finder.navigation.") final
bool accept(const std::filesystem::path &idPath) const final
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.