Viam C++ SDK current
|
gRPC server implementation of a Board
component.
More...
#include <board_server.hpp>
Public Types | |
using | service_type = component::board::v1::BoardService |
using | interface_type = Board |
Public Member Functions | |
BoardServer (std::shared_ptr< ResourceManager > manager) | |
::grpc::Status | SetGPIO (::grpc::ServerContext *context, const ::viam::component::board::v1::SetGPIORequest *request, ::viam::component::board::v1::SetGPIOResponse *response) noexcept override |
::grpc::Status | GetGPIO (::grpc::ServerContext *context, const ::viam::component::board::v1::GetGPIORequest *request, ::viam::component::board::v1::GetGPIOResponse *response) noexcept override |
::grpc::Status | PWM (::grpc::ServerContext *context, const ::viam::component::board::v1::PWMRequest *request, ::viam::component::board::v1::PWMResponse *response) noexcept override |
::grpc::Status | SetPWM (::grpc::ServerContext *context, const ::viam::component::board::v1::SetPWMRequest *request, ::viam::component::board::v1::SetPWMResponse *response) noexcept override |
::grpc::Status | PWMFrequency (::grpc::ServerContext *context, const ::viam::component::board::v1::PWMFrequencyRequest *request, ::viam::component::board::v1::PWMFrequencyResponse *response) noexcept override |
::grpc::Status | SetPWMFrequency (::grpc::ServerContext *context, const ::viam::component::board::v1::SetPWMFrequencyRequest *request, ::viam::component::board::v1::SetPWMFrequencyResponse *response) noexcept override |
::grpc::Status | DoCommand (grpc::ServerContext *context, const viam::common::v1::DoCommandRequest *request, viam::common::v1::DoCommandResponse *response) noexcept override |
::grpc::Status | ReadAnalogReader (::grpc::ServerContext *context, const ::viam::component::board::v1::ReadAnalogReaderRequest *request, ::viam::component::board::v1::ReadAnalogReaderResponse *response) override |
::grpc::Status | WriteAnalog (::grpc::ServerContext *context, const component::board::v1::WriteAnalogRequest *request, component::board::v1::WriteAnalogResponse *response) override |
::grpc::Status | GetDigitalInterruptValue (::grpc::ServerContext *context, const ::viam::component::board::v1::GetDigitalInterruptValueRequest *request, ::viam::component::board::v1::GetDigitalInterruptValueResponse *response) override |
::grpc::Status | StreamTicks (::grpc::ServerContext *context, const ::viam::component::board::v1::StreamTicksRequest *request, ::grpc::ServerWriter<::viam::component::board::v1::StreamTicksResponse > *writer) noexcept override |
::grpc::Status | SetPowerMode (::grpc::ServerContext *context, const ::viam::component::board::v1::SetPowerModeRequest *request, ::viam::component::board::v1::SetPowerModeResponse *response) noexcept override |
::grpc::Status | GetGeometries (::grpc::ServerContext *context, const ::viam::common::v1::GetGeometriesRequest *request, ::viam::common::v1::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 Board
component.