|
#include <RobotAPI/libraries/PriorKnowledge/core/FinderBase.h>
Public Types | |
using | Base = FinderBase< IDType, FinderInfoType > |
Public Member Functions | |
virtual bool | check (const DatasetType &dataset, const IDType &id) const =0 |
virtual bool | check (const IDType &id) const=0 |
virtual bool | checkAll () const=0 |
virtual bool | checkAll (const DatasetType &dataset) const =0 |
DatasetFinderBase (const std::string &packageName, const std::filesystem::path &relDir) | |
virtual std::optional< FinderInfoType > | find (const DatasetType &dataset, const IDType &id) const =0 |
virtual std::optional< FinderInfoType > | find (const IDType &id) const=0 |
virtual std::vector< FinderInfoType > | findAll () const=0 |
virtual std::vector< FinderInfoType > | findAll (const DatasetType &dataset) const =0 |
std::filesystem::path | getFullPath (const std::filesystem::path &relPath) const |
Public Member Functions inherited from FinderBase< IDType, FinderInfoType > | |
virtual bool | accept (const std::filesystem::path &idPath) const =0 |
virtual bool | check (const IDType &id) const =0 |
virtual bool | checkAll () const =0 |
virtual std::optional< FinderInfoType > | find (const IDType &id) const =0 |
virtual std::vector< FinderInfoType > | findAll () 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from FinderBase< IDType, FinderInfoType > | |
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< IDType, FinderInfoType > | |
std::string | packageName |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Definition at line 119 of file FinderBase.h.
using Base = FinderBase<IDType, FinderInfoType> |
Definition at line 123 of file FinderBase.h.
|
inline |
Definition at line 125 of file FinderBase.h.
|
pure virtual |
Implemented in PKDatasetFinder.
virtual bool check |
virtual bool checkAll |
|
pure virtual |
Implemented in PKDatasetFinder.
|
pure virtual |
Implemented in PKDatasetFinder.
virtual std::optional<FinderInfoType> find |
virtual std::vector<FinderInfoType> findAll |
|
pure virtual |
Implemented in PKDatasetFinder.
|
inline |
Definition at line 131 of file FinderBase.h.