Viam C++ SDK current
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
SummationClient Class Reference
+ Inheritance diagram for SummationClient:

Public Types

using interface_type = Summation
 

Public Member Functions

 SummationClient (std::string name, std::shared_ptr< grpc::Channel > channel)
 
double sum (std::vector< double > numbers) override
 
- Public Member Functions inherited from Summation
API api () const override
 Returns the API associated with a particular resource.
 
- 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.
 

Additional Inherited Members

- Protected Member Functions inherited from Summation
 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

◆ sum()

double SummationClient::sum ( std::vector< double > numbers)
overridevirtual

Implements Summation.


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