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
virtual void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix)
PKDatasetFinder(const std::filesystem::path &relDir)
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &defs, const std::string &prefix="pk.finder.motions.") final
bool accept(const std::filesystem::path &idPath) const final
MotionFinder(const std::filesystem::path &relDir=DEFAULT_DIR_TO_DATASETS)
static const constexpr auto DEFAULT_DIR_TO_DATASETS
PKDatasetFinder(const std::filesystem::path &relDir)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.