Viam C++ SDK current
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
viam::sdk::impl::SensorServer Class Reference

gRPC server implementation of a Sensor component. More...

#include <sensor_server.hpp>

+ Inheritance diagram for viam::sdk::impl::SensorServer:

Public Types

using interface_type = Sensor
 
using service_type = component::sensor::v1::SensorService
 

Public Member Functions

 SensorServer (std::shared_ptr< ResourceManager > manager)
 
::grpc::Status GetReadings (::grpc::ServerContext *context, const GetReadingsRequest *request, GetReadingsResponse *response) noexcept override
 
::grpc::Status DoCommand (::grpc::ServerContext *context, const DoCommandRequest *request, DoCommandResponse *response) noexcept override
 
::grpc::Status GetGeometries (::grpc::ServerContext *context, const GetGeometriesRequest *request, GetGeometriesResponse *response) noexcept override
 
- Public Member Functions inherited from viam::sdk::ResourceServer
const std::shared_ptr< ResourceManager > & resource_manager () const
 

Additional Inherited Members

- Protected Member Functions inherited from viam::sdk::ResourceServer
 ResourceServer (std::shared_ptr< ResourceManager > manager)
 

Detailed Description

gRPC server implementation of a Sensor component.


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