Viam C++ SDK current
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
Summation Class Referenceabstract
+ Inheritance diagram for Summation:

Public Member Functions

API api () const override
 Returns the API associated with a particular resource.
 
virtual double sum (std::vector< double > numbers)=0
 
- Public Member Functions inherited from viam::sdk::Service
Name get_resource_name () const override
 Returns the Name for a particular resource.
 
- Public Member Functions inherited from viam::sdk::Resource
 Resource (std::string name)
 
virtual std::string name () const
 Return the resource's name.
 

Protected Member Functions

 Summation (std::string name)
 
- Protected Member Functions inherited from viam::sdk::Service
 Service (std::string name)
 
- Protected Member Functions inherited from viam::sdk::Resource
Name get_resource_name (const std::string &type) const
 

Member Function Documentation

◆ api()

API Summation::api ( ) const
overridevirtual

Returns the API associated with a particular resource.

Implements viam::sdk::Resource.


The documentation for this class was generated from the following file: