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