|
| MySummation (std::string name, bool subtract) |
|
| MySummation (const Dependencies &deps, const ResourceConfig &cfg) |
|
void | reconfigure (const Dependencies &deps, const ResourceConfig &cfg) override |
| Reconfigures a resource.
|
|
double | sum (std::vector< double > numbers) override |
|
API | api () const override |
| Returns the API associated with a particular resource.
|
|
Name | get_resource_name () const override |
| Returns the Name for a particular resource.
|
|
| Resource (std::string name) |
|
virtual std::string | name () const |
| Return the resource's name.
|
|
|
| Summation (std::string name) |
|
| Service (std::string name) |
|
Name | get_resource_name (const std::string &type) const |
|
◆ reconfigure()
void MySummation::reconfigure |
( |
const Dependencies & | deps, |
|
|
const ResourceConfig & | cfg ) |
|
overridevirtual |
Reconfigures a resource.
- Parameters
-
deps | Dependencies of the resource. |
cfg | The resource's config. |
Implements viam::sdk::Reconfigurable.
◆ sum()
double MySummation::sum |
( |
std::vector< double > | numbers | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- src/viam/examples/modules/complex/summation/impl.hpp