36 std::shared_ptr<Resource> resource_by_name(
const Name& name);
37 ::grpc::Status ResourceNames(::grpc::ServerContext* context,
38 const ::viam::robot::v1::ResourceNamesRequest* request,
39 ::viam::robot::v1::ResourceNamesResponse* response)
override;
40 ::grpc::Status GetStatus(::grpc::ServerContext* context,
41 const ::viam::robot::v1::GetStatusRequest* request,
42 ::viam::robot::v1::GetStatusResponse* response)
override;
43 ::grpc::Status StreamStatus(
44 ::grpc::ServerContext* context,
45 const ::viam::robot::v1::StreamStatusRequest* request,
46 ::grpc::ServerWriter<::viam::robot::v1::StreamStatusResponse>* writer)
override;
47 ::grpc::Status StopAll(::grpc::ServerContext* context,
48 const ::viam::robot::v1::StopAllRequest* request,
49 ::viam::robot::v1::StopAllResponse* response)
override;
53 std::vector<ResourceName> generate_metadata_();
54 std::vector<Status> generate_status_(
const RepeatedPtrField<ResourceName>& resource_names);
56 void stream_status(const ::viam::robot::v1::StreamStatusRequest* request,
57 ::grpc::ServerWriter<::viam::robot::v1::StreamStatusResponse>* writer,