21 public viam::component::encoder::v1::EncoderService::Service {
24 using service_type = component::encoder::v1::EncoderService;
25 explicit EncoderServer(std::shared_ptr<ResourceManager> manager);
27 ::grpc::Status GetPosition(
28 ::grpc::ServerContext* context,
29 const ::viam::component::encoder::v1::GetPositionRequest* request,
30 ::viam::component::encoder::v1::GetPositionResponse* response)
noexcept override;
32 ::grpc::Status ResetPosition(
33 ::grpc::ServerContext* context,
34 const ::viam::component::encoder::v1::ResetPositionRequest* request,
35 ::viam::component::encoder::v1::ResetPositionResponse* response)
noexcept override;
37 ::grpc::Status GetProperties(
38 ::grpc::ServerContext* context,
39 const ::viam::component::encoder::v1::GetPropertiesRequest* request,
40 ::viam::component::encoder::v1::GetPropertiesResponse* response)
noexcept override;
42 ::grpc::Status GetGeometries(
43 ::grpc::ServerContext* context,
44 const ::viam::common::v1::GetGeometriesRequest* request,
45 ::viam::common::v1::GetGeometriesResponse* response)
noexcept override;
47 ::grpc::Status DoCommand(grpc::ServerContext* context,
48 const viam::common::v1::DoCommandRequest* request,
49 viam::common::v1::DoCommandResponse* response)
noexcept override;