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

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

#include <power_sensor_server.hpp>

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

Public Types

using interface_type = PowerSensor
 
using service_type = PowerSensorService
 

Public Member Functions

 PowerSensorServer (std::shared_ptr< ResourceManager > manager)
 
::grpc::Status GetVoltage (::grpc::ServerContext *context, const GetVoltageRequest *request, GetVoltageResponse *response) noexcept override
 
::grpc::Status GetCurrent (::grpc::ServerContext *context, const GetCurrentRequest *request, GetCurrentResponse *response) noexcept override
 
::grpc::Status GetPower (::grpc::ServerContext *context, const GetPowerRequest *request, GetPowerResponse *response) noexcept override
 
::grpc::Status GetReadings (::grpc::ServerContext *context, const viam::common::v1::GetReadingsRequest *request, viam::common::v1::GetReadingsResponse *response) noexcept override
 
::grpc::Status DoCommand (::grpc::ServerContext *context, const viam::common::v1::DoCommandRequest *request, viam::common::v1::DoCommandResponse *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 PowerSensor component.


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