6#include <grpcpp/channel.h>
8#include <viam/api/service/discovery/v1/discovery.grpc.pb.h>
25 ProtoStruct
do_command(
const ProtoStruct& command)
override;
28 using StubType = viam::service::discovery::v1::DiscoveryService::StubInterface;
29 std::unique_ptr<StubType> stub_;
30 std::shared_ptr<grpc::Channel> channel_;
A Discovery service is used to discover resources that are physically connected to your machine.
Definition discovery.hpp:25
virtual std::string name() const
Return the resource's name.
gRPC client implementation of a Discovery service.
Definition discovery_client.hpp:19
ProtoStruct do_command(const ProtoStruct &command) override
Do an arbitrary command.
std::vector< ResourceConfig > discover_resources(const ProtoStruct &extra) override
Discover valid viam configuration of resources that are physically connected to your machine.
Defines a Discovery service.