MotionFinder.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
RobotAPI/libraries/PriorKnowledge/core/PKDatasetFinder.h
>
4
5
namespace
armarx::priorknowledge::motions
6
{
7
class
MotionFinder
:
public
core::PKDatasetFinder
8
{
9
10
public
:
11
using
core::PKDatasetFinder::PKDatasetFinder
;
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
26
registerPropertyDefinitions
(
armarx::PropertyDefinitionsPtr
& defs,
27
const
std::string& prefix =
"pk.finder.motions."
) final
28
{
29
core::PKDatasetFinder::registerPropertyDefinitions
(defs, prefix);
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
RobotAPI
libraries
PriorKnowledge
motions
MotionFinder.h
Generated on Sat Oct 12 2024 09:14:11 for armarx_documentation by
1.8.17