gRPC client implementation of a Sensor
component.
More...
#include <sensor_client.hpp>
|
| Sensor (std::string name) |
|
| Component (std::string name) |
|
Name | get_resource_name (const std::string &type) const |
|
gRPC client implementation of a Sensor
component.
◆ do_command()
ProtoStruct viam::sdk::impl::SensorClient::do_command |
( |
const ProtoStruct & | command | ) |
|
|
overridevirtual |
Send/receive arbitrary commands to the resource.
- Parameters
-
Command | the command to execute. |
- Returns
- The result of the executed command.
Implements viam::sdk::Sensor.
◆ get_geometries() [1/3]
◆ get_geometries() [2/3]
std::vector< GeometryConfig > viam::sdk::impl::SensorClient::get_geometries |
( |
const ProtoStruct & | extra | ) |
|
|
overridevirtual |
◆ get_geometries() [3/3]
virtual std::vector< GeometryConfig > viam::sdk::Sensor::get_geometries |
( |
const ProtoStruct & | extra | ) |
|
|
virtual |
◆ get_readings() [1/3]
ProtoStruct viam::sdk::Sensor::get_readings |
( |
| ) |
|
|
inline |
Returns the measurements/data specific to this sensor.
- Returns
- The requested measurements/data specific to this sensor.
◆ get_readings() [2/3]
ProtoStruct viam::sdk::impl::SensorClient::get_readings |
( |
const ProtoStruct & | extra | ) |
|
|
overridevirtual |
Returns the measurements/data specific to this sensor.
- Parameters
-
extra | Any additional arguments to the method. |
- Returns
- The requested measurements/data specific to this sensor.
Implements viam::sdk::Sensor.
◆ get_readings() [3/3]
virtual ProtoStruct viam::sdk::Sensor::get_readings |
( |
const ProtoStruct & | extra | ) |
|
|
virtual |
Returns the measurements/data specific to this sensor.
- Parameters
-
extra | Any additional arguments to the method. |
- Returns
- The requested measurements/data specific to this sensor.
Implements viam::sdk::Sensor.
The documentation for this class was generated from the following file: