RobotFinder Class Reference

#include <RobotAPI/libraries/PriorKnowledge/robots/RobotFinder.h>

+ Inheritance diagram for RobotFinder:

Public Member Functions

bool accept (const std::filesystem::path &idPath) const final
 
void registerPropertyDefinitions (armarx::PropertyDefinitionsPtr &defs, const std::string &prefix="pk.finder.robots.") final
 
 RobotFinder (const std::filesystem::path &relDir=DEFAULT_DIR_TO_IDS)
 
- Public Member Functions inherited from PKFinder
bool check (const std::string &id) const override
 
bool checkAll () const override
 
std::optional< PKFinderInfofind (const std::string &id) const override
 
std::vector< PKFinderInfofindAll () const override
 
virtual void init ()
 
 PKFinder (const std::filesystem::path &relDir)
 
virtual ~PKFinder ()
 
- Public Member Functions inherited from FinderBase< std::string, PKFinderInfo >
virtual bool checkAll () const=0
 
virtual std::vector< PKFinderInfofindAll () 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
 
FinderBaseoperator= (const FinderBase &)=default
 
FinderBaseoperator= (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_DIR_TO_IDS = "robots"
 
- Static Public Attributes inherited from PKFinder
static const constexpr auto DEFAULT_PACKAGE = "PriorKnowledgeData"
 

Additional Inherited Members

- Protected Member Functions inherited from FinderBase< std::string, PKFinderInfo >
void checkAbsolutePathIsValid () const
 
- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from FinderBase< std::string, PKFinderInfo >
std::string packageName
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 7 of file RobotFinder.h.

Constructor & Destructor Documentation

◆ RobotFinder()

RobotFinder ( const std::filesystem::path &  relDir = DEFAULT_DIR_TO_IDS)
inline

Definition at line 14 of file RobotFinder.h.

Member Function Documentation

◆ accept()

bool accept ( const std::filesystem::path &  idPath) const
inlinefinalvirtual

Implements FinderBase< std::string, PKFinderInfo >.

Definition at line 20 of file RobotFinder.h.

◆ registerPropertyDefinitions()

void registerPropertyDefinitions ( armarx::PropertyDefinitionsPtr defs,
const std::string &  prefix = "pk.finder.robots." 
)
inlinefinalvirtual

Reimplemented from PKFinder.

Definition at line 26 of file RobotFinder.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ DEFAULT_DIR_TO_IDS

const constexpr auto DEFAULT_DIR_TO_IDS = "robots"
staticconstexpr

Definition at line 12 of file RobotFinder.h.


The documentation for this class was generated from the following file: