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

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

#include <servo_server.hpp>

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

Public Types

using interface_type = Servo
 
using service_type = component::servo::v1::ServoService
 

Public Member Functions

 ServoServer (std::shared_ptr< ResourceManager > manager)
 
::grpc::Status Move (::grpc::ServerContext *context, const ::viam::component::servo::v1::MoveRequest *request, ::viam::component::servo::v1::MoveResponse *response) noexcept override
 
::grpc::Status GetPosition (::grpc::ServerContext *context, const ::viam::component::servo::v1::GetPositionRequest *request, ::viam::component::servo::v1::GetPositionResponse *response) noexcept override
 
::grpc::Status Stop (::grpc::ServerContext *context, const ::viam::component::servo::v1::StopRequest *request, ::viam::component::servo::v1::StopResponse *response) noexcept override
 
::grpc::Status IsMoving (::grpc::ServerContext *context, const ::viam::component::servo::v1::IsMovingRequest *request, ::viam::component::servo::v1::IsMovingResponse *response) noexcept override
 
::grpc::Status GetGeometries (::grpc::ServerContext *context, const ::viam::common::v1::GetGeometriesRequest *request, ::viam::common::v1::GetGeometriesResponse *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 Servo component.


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