Viam C++ SDK current
|
gRPC server implementation of a Sensor
component.
More...
#include <sensor_server.hpp>
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) | |
gRPC server implementation of a Sensor
component.