21 public viam::component::servo::v1::ServoService::Service {
24 using service_type = component::servo::v1::ServoService;
25 explicit ServoServer(std::shared_ptr<ResourceManager> manager);
27 ::grpc::Status Move(::grpc::ServerContext* context,
28 const ::viam::component::servo::v1::MoveRequest* request,
29 ::viam::component::servo::v1::MoveResponse* response)
noexcept override;
31 ::grpc::Status GetPosition(
32 ::grpc::ServerContext* context,
33 const ::viam::component::servo::v1::GetPositionRequest* request,
34 ::viam::component::servo::v1::GetPositionResponse* response)
noexcept override;
36 ::grpc::Status Stop(::grpc::ServerContext* context,
37 const ::viam::component::servo::v1::StopRequest* request,
38 ::viam::component::servo::v1::StopResponse* response)
noexcept override;
40 ::grpc::Status IsMoving(
41 ::grpc::ServerContext* context,
42 const ::viam::component::servo::v1::IsMovingRequest* request,
43 ::viam::component::servo::v1::IsMovingResponse* response)
noexcept override;
45 ::grpc::Status GetGeometries(
46 ::grpc::ServerContext* context,
47 const ::viam::common::v1::GetGeometriesRequest* request,
48 ::viam::common::v1::GetGeometriesResponse* response)
noexcept override;
50 ::grpc::Status DoCommand(grpc::ServerContext* context,
51 const viam::common::v1::DoCommandRequest* request,
52 viam::common::v1::DoCommandResponse* response)
noexcept override;