◆ reconfigure()
virtual void viam::sdk::Reconfigurable::reconfigure |
( |
const Dependencies & | deps, |
|
|
const ResourceConfig & | cfg ) |
|
pure virtual |
Reconfigures a resource.
- Parameters
-
deps | Dependencies of the resource. |
cfg | The resource's config. |
Implemented in MyBase, MyGizmo, and MySummation.
◆ reconfigure_if_reconfigurable()
static void viam::sdk::Reconfigurable::reconfigure_if_reconfigurable |
( |
const std::shared_ptr< Resource > & | resource, |
|
|
const Dependencies & | deps, |
|
|
const ResourceConfig & | cfg ) |
|
static |
Reconfigures a resource if it is Reconfigurable.
- Parameters
-
resource | the Resource to reconfigure. |
deps | Dependencies of the resource. |
cfg | The resource's config. |
The documentation for this class was generated from the following file: