Go to the documentation of this file.
20 class TSetOfMetricMapInitializers;
36 using Ptr = std::shared_ptr<TMetricMapInitializer>;
51 const std::string& sectionNamePrefix)
override;
54 const std::string& section)
const override;
77 const std::string& sectionNamePrefix) = 0;
92 std::deque<TMetricMapInitializer::Ptr>
m_list;
96 template <
typename MAP_DEFINITION>
104 using iterator = std::deque<TMetricMapInitializer::Ptr>::iterator;
106 std::deque<TMetricMapInitializer::Ptr>::const_iterator;
321 const std::string& sectionName)
override;
324 const std::string& section)
const override;
void saveToConfigFile(mrpt::config::CConfigFileBase &target, const std::string §ion) const override
This method saves the options to a ".ini"-like file or memory-stored string list.
const mrpt::rtti::TRuntimeClassId::Ptr metricMapClassType
Derived classes set this to CLASS_ID(< class >) where < class > is any CMetricMap derived class.
A structure that holds runtime class type information.
TMetricMapInitializer(const mrpt::rtti::TRuntimeClassId *classID)
virtual void dumpToTextStream_map_specific(std::ostream &out) const =0
std::deque< TMetricMapInitializer::Ptr >::const_iterator const_iterator
mrpt::vision::TStereoCalibResults out
const_iterator begin() const
Virtual base for specifying the kind and parameters of one map (normally, to be inserted into mrpt::m...
Common params to all maps derived from mrpt::maps::CMetricMap
mrpt::maps::TMapGenericParams genericMapParams
Common params for all maps: These are automatically set in TMetricMapTypesRegistry::factoryMapObjectF...
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form,...
const_iterator end() const
A set of TMetricMapInitializer structures, passed to the constructor CMultiMetricMap::CMultiMetricMap...
static TMetricMapInitializer * factory(const std::string &mapClassName)
Looks up in the registry of known map types and call the corresponding <metric_map_class>::MapDefinit...
std::shared_ptr< TMetricMapInitializer > Ptr
Smart pointer to TMetricMapInitializer.
This class allows loading and storing values and vectors of different types from a configuration text...
TSetOfMetricMapInitializers()
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ionName) override
Loads the configuration for the set of internal maps from a textual definition in an INI-like file.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
std::deque< TMetricMapInitializer::Ptr > m_list
void saveToConfigFile(mrpt::config::CConfigFileBase &target, const std::string §ion) const override
This method saves the options to a ".ini"-like file or memory-stored string list.
std::deque< TMetricMapInitializer::Ptr >::iterator iterator
void push_back(const MAP_DEFINITION &o)
virtual void loadFromConfigFile_map_specific(const mrpt::config::CConfigFileBase &source, const std::string §ionNamePrefix)=0
Load all map-specific params.
const mrpt::rtti::TRuntimeClassId::Ptr & getMetricMapClassType() const
Query the map type (C++ class), as set by the factory method MapDefinition()
void dumpToTextStream(std::ostream &out) const override
This method dumps the options of the multi-metric map AND those of every internal map.
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ionNamePrefix) override
Load all params from a config file/source.
void push_back(const TMetricMapInitializer::Ptr &o)
A wrapper class for pointers that can be safely copied with "=" operator without problems.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Fri Jul 17 08:43:33 UTC 2020 | |