Visual Servoing Platform
version 3.6.1 under development (2025-01-11)
|
#include <visp3/rbt/vpRBDriftDetectorFactory.h>
Public Member Functions | |
void | registerType (const std::string &key, const std::function< std::shared_ptr< vpRBDriftDetector >(const nlohmann::json &)> &function) |
void | registerTypeRaw (const std::string &key, const std::function< std::shared_ptr< vpRBDriftDetector >(const std::string &)> function) |
std::shared_ptr< vpRBDriftDetector > | buildFromJson (const nlohmann::json &j) |
void | setJsonKeyFinder (const std::function< std::string(const nlohmann::json &)> &finderFn) |
Static Public Member Functions | |
static vpRBDriftDetectorFactory & | getFactory () |
Protected Attributes | |
std::map< std::string, std::function< std::shared_ptr< vpRBDriftDetector >const nlohmann::json &)> > | m_jsonBuilders |
std::map< std::string, std::function< std::shared_ptr< vpRBDriftDetector >const std::string &)> > | m_jsonRawBuilders |
std::function< std::string(const nlohmann::json &)> | m_keyFinder |
A factory that can be used to instanciate drift detection algorithms from JSON data.
Definition at line 49 of file vpRBDriftDetectorFactory.h.
|
inlineinherited |
Definition at line 73 of file vpDynamicFactory.h.
|
inlinestatic |
Definition at line 55 of file vpRBDriftDetectorFactory.h.
Referenced by vpRBTracker::loadConfiguration().
|
inlineinherited |
Definition at line 54 of file vpDynamicFactory.h.
|
inlineinherited |
Definition at line 62 of file vpDynamicFactory.h.
|
inlineinherited |
Definition at line 90 of file vpDynamicFactory.h.
|
protectedinherited |
Definition at line 102 of file vpDynamicFactory.h.
|
protectedinherited |
Definition at line 103 of file vpDynamicFactory.h.
|
protectedinherited |
Definition at line 105 of file vpDynamicFactory.h.