|
The PKDatasetFinder class. More...
#include <RobotAPI/libraries/PriorKnowledge/core/PKDatasetFinder.h>
Public Member Functions | |
bool | check (const std::string &dataset, const std::string &id) const override |
bool | check (const std::string &id) const override |
bool | checkAll () const override |
bool | checkAll (const std::string &dataset) const override |
std::optional< PKDatasetFinderInfo > | find (const std::string &dataset, const std::string &id) const override |
std::optional< PKDatasetFinderInfo > | find (const std::string &id) const override |
std::vector< PKDatasetFinderInfo > | findAll () const override |
std::vector< PKDatasetFinderInfo > | findAll (const std::string &dataset) const override |
virtual void | init () |
PKDatasetFinder (const std::filesystem::path &relDir) | |
virtual void | registerPropertyDefinitions (armarx::PropertyDefinitionsPtr &defs, const std::string &prefix) |
virtual | ~PKDatasetFinder () |
Public Member Functions inherited from DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo > | |
virtual bool | check (const std::string &id) const =0 |
virtual bool | checkAll () const =0 |
DatasetFinderBase (const std::string &packageName, const std::filesystem::path &relDir) | |
virtual std::optional< PKDatasetFinderInfo > | find (const std::string &id) const =0 |
virtual std::vector< PKDatasetFinderInfo > | findAll () const =0 |
std::filesystem::path | getFullPath (const std::filesystem::path &relPath) const |
Public Member Functions inherited from FinderBase< std::string, PKDatasetFinderInfo > | |
virtual bool | accept (const std::filesystem::path &idPath) const=0 |
FinderBase ()=delete | |
FinderBase (const FinderBase &)=default | |
FinderBase (const std::string &packageName, const std::filesystem::path &relDir) | |
FinderBase (FinderBase &&)=default | |
std::filesystem::path | getAbsolutePackagePath () const |
std::filesystem::path | getFullPath () const |
std::string | getPackageName () const |
std::filesystem::path | getRelativePath () const |
FinderBase & | operator= (const FinderBase &)=default |
FinderBase & | operator= (FinderBase &&)=default |
void | recalculateBasePath () |
void | setRelativePath (const std::filesystem::path &p) |
virtual | ~FinderBase () |
Public Member Functions inherited from Logging | |
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
disables the logging for the current line for the given amount of seconds. More... | |
MessageTypeT | getEffectiveLoggingLevel () const |
Logging () | |
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More... | |
void | setTag (const LogTag &tag) |
void | setTag (const std::string &tagName) |
virtual | ~Logging () |
Static Public Attributes | |
static const constexpr auto | DEFAULT_PACKAGE = "PriorKnowledgeData" |
Additional Inherited Members | |
Public Types inherited from DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo > | |
using | Base = FinderBase< std::string, PKDatasetFinderInfo > |
Protected Member Functions inherited from FinderBase< std::string, PKDatasetFinderInfo > | |
void | checkAbsolutePathIsValid () const |
Protected Member Functions inherited from Logging | |
bool | checkLogLevel (MessageTypeT level) const |
const LogSenderPtr & | getLogSender () const |
Retrieve log sender. More... | |
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Protected Attributes inherited from FinderBase< std::string, PKDatasetFinderInfo > | |
std::string | packageName |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
The PKDatasetFinder class.
Definition at line 25 of file PKDatasetFinder.h.
|
inline |
Definition at line 35 of file PKDatasetFinder.h.
|
inlinevirtual |
Definition at line 39 of file PKDatasetFinder.h.
|
overridevirtual |
Implements DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo >.
Definition at line 91 of file PKDatasetFinder.cpp.
|
overridevirtual |
Implements FinderBase< std::string, PKDatasetFinderInfo >.
Definition at line 110 of file PKDatasetFinder.cpp.
|
override |
|
overridevirtual |
Implements DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo >.
Definition at line 29 of file PKDatasetFinder.cpp.
|
overridevirtual |
Implements DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo >.
Definition at line 141 of file PKDatasetFinder.cpp.
|
overridevirtual |
Implements FinderBase< std::string, PKDatasetFinderInfo >.
Definition at line 159 of file PKDatasetFinder.cpp.
|
override |
|
overridevirtual |
Implements DatasetFinderBase< std::string, std::string, PKDatasetFinderInfo >.
Definition at line 221 of file PKDatasetFinder.cpp.
|
virtual |
|
virtual |
Reimplemented in ObjectFinder, and MotionFinder.
Definition at line 11 of file PKDatasetFinder.cpp.
|
staticconstexpr |
Definition at line 31 of file PKDatasetFinder.h.