This should be reimplemented to read all the required parameters */
| 49 | |
| 50 | /** This should be reimplemented to read all the required parameters */ |
| 51 | void ExecutableBase::initialize(const Yaml& cfg) |
| 52 | { |
| 53 | if (!cfg.empty()) |
| 54 | { |
| 55 | MRPT_LOG_WARN_STREAM( |
| 56 | "`initialize()` not reimplemented by derived class. " |
| 57 | "Ignoring YAML config block:\n" |
| 58 | << cfg); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | void ExecutableBase::setModuleInstanceName(const std::string& s) { module_instance_name = s; } |
| 63 | std::string ExecutableBase::getModuleInstanceName() const { return module_instance_name; } |