23 public viam::component::sensor::v1::SensorService::Service {
26 using service_type = component::sensor::v1::SensorService;
27 explicit SensorServer(std::shared_ptr<ResourceManager> manager);
29 ::grpc::Status GetReadings(::grpc::ServerContext* context,
30 const GetReadingsRequest* request,
31 GetReadingsResponse* response)
noexcept override;
33 ::grpc::Status DoCommand(::grpc::ServerContext* context,
34 const DoCommandRequest* request,
35 DoCommandResponse* response)
noexcept override;
37 ::grpc::Status GetGeometries(::grpc::ServerContext* context,
38 const GetGeometriesRequest* request,
39 GetGeometriesResponse* response)
noexcept override;