Viam C++ SDK current
Loading...
Searching...
No Matches
Public Member Functions | List of all members
viam::sdk::ResourceClientRegistration Class Referenceabstract

Defines registered Resource client creation functionality. More...

#include "registry/registry.hpp"

Public Member Functions

virtual std::shared_ptr< Resourcecreate_rpc_client (std::string name, std::shared_ptr< grpc::Channel > channel) const =0
 Create gRPC client to a resource.
 

Detailed Description

Defines registered Resource client creation functionality.

Member Function Documentation

◆ create_rpc_client()

virtual std::shared_ptr< Resource > viam::sdk::ResourceClientRegistration::create_rpc_client ( std::string name,
std::shared_ptr< grpc::Channel > channel ) const
pure virtual

Create gRPC client to a resource.

Parameters
nameThe name of the resource.
channelA channel connected to the client.
Returns
A shared_ptr to the resource client.

The documentation for this class was generated from the following file: