21 public viam::component::gantry::v1::GantryService::Service {
24 using service_type = component::gantry::v1::GantryService;
26 explicit GantryServer(std::shared_ptr<ResourceManager> manager);
28 virtual ::grpc::Status GetPosition(
29 ::grpc::ServerContext* context,
30 const ::viam::component::gantry::v1::GetPositionRequest* request,
31 ::viam::component::gantry::v1::GetPositionResponse* response)
noexcept;
33 virtual ::grpc::Status MoveToPosition(
34 ::grpc::ServerContext* context,
35 const ::viam::component::gantry::v1::MoveToPositionRequest* request,
36 ::viam::component::gantry::v1::MoveToPositionResponse* response)
noexcept;
38 virtual ::grpc::Status Home(::grpc::ServerContext* context,
39 const ::viam::component::gantry::v1::HomeRequest* request,
40 ::viam::component::gantry::v1::HomeResponse* response)
noexcept;
42 virtual ::grpc::Status GetLengths(
43 ::grpc::ServerContext* context,
44 const ::viam::component::gantry::v1::GetLengthsRequest* request,
45 ::viam::component::gantry::v1::GetLengthsResponse* response)
noexcept;
47 virtual ::grpc::Status Stop(::grpc::ServerContext* context,
48 const ::viam::component::gantry::v1::StopRequest* request,
49 ::viam::component::gantry::v1::StopResponse* response)
noexcept;
51 virtual ::grpc::Status IsMoving(
52 ::grpc::ServerContext* context,
53 const ::viam::component::gantry::v1::IsMovingRequest* request,
54 ::viam::component::gantry::v1::IsMovingResponse* response)
noexcept;
56 virtual ::grpc::Status DoCommand(::grpc::ServerContext* context,
57 const ::viam::common::v1::DoCommandRequest* request,
58 ::viam::common::v1::DoCommandResponse* response)
noexcept;
60 virtual ::grpc::Status GetGeometries(
61 ::grpc::ServerContext* context,
62 const ::viam::common::v1::GetGeometriesRequest* request,
63 ::viam::common::v1::GetGeometriesResponse* response)
noexcept;