MotionFinder.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_DATASETS = "motions";
13 
14  MotionFinder(const std::filesystem::path& relDir = DEFAULT_DIR_TO_DATASETS) :
15  core::PKDatasetFinder(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.motions.") final
28  {
30  }
31  };
32 
33 } // namespace armarx::priorknowledge::motions
armarx::priorknowledge::motions::MotionFinder::accept
bool accept(const std::filesystem::path &idPath) const final
Definition: MotionFinder.h:20
armarx::priorknowledge::motions::MotionFinder::registerPropertyDefinitions
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix="pk.finder.motions.") final
Definition: MotionFinder.h:26
armarx::priorknowledge::motions::MotionFinder::MotionFinder
MotionFinder(const std::filesystem::path &relDir=DEFAULT_DIR_TO_DATASETS)
Definition: MotionFinder.h:14
armarx::priorknowledge::motions
Definition: MotionFinder.cpp:9
armarx::priorknowledge::core::PKDatasetFinder::registerPropertyDefinitions
virtual void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix)
Definition: PKDatasetFinder.cpp:11
PKDatasetFinder.h
armarx::priorknowledge::motions::MotionFinder::DEFAULT_DIR_TO_DATASETS
static const constexpr auto DEFAULT_DIR_TO_DATASETS
Definition: MotionFinder.h:12
armarx::priorknowledge::motions::MotionFinder
Definition: MotionFinder.h:7
armarx::priorknowledge::core::PKDatasetFinder::PKDatasetFinder
PKDatasetFinder(const std::filesystem::path &relDir)
Definition: PKDatasetFinder.h:35
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::priorknowledge::core::PKDatasetFinder
The PKDatasetFinder class.
Definition: PKDatasetFinder.h:25