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
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