* Sets the property using the provided name * @param property name * @param value property value. * @return result of setting property. */
| 80 | * @return result of setting property. |
| 81 | */ |
| 82 | bool setProperty(const std::string &name, std::string value) { |
| 83 | const std::shared_ptr<ConfigurableComponent> processor_cast = std::dynamic_pointer_cast<ConfigurableComponent>(processor_); |
| 84 | bool ret = ConfigurableComponent::setProperty(name, value); |
| 85 | if (nullptr != processor_cast) |
| 86 | ret = processor_cast->setProperty(name, value); |
| 87 | |
| 88 | return ret; |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Get dynamic property using the provided name. |