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

Public Member Functions

virtual std::shared_ptr< ResourceServercreate_resource_server (std::shared_ptr< ResourceManager > manager, Server &server) const =0
 Create a resource's gRPC server.
 
const google::protobuf::ServiceDescriptor * service_descriptor () const
 Returns a reference to the ResourceServerRegistration's service descriptor.
 
 ResourceServerRegistration (const google::protobuf::ServiceDescriptor *service_descriptor)
 

Member Function Documentation

◆ create_resource_server()

virtual std::shared_ptr< ResourceServer > viam::sdk::ResourceServerRegistration::create_resource_server ( std::shared_ptr< ResourceManager > manager,
Server & server ) const
pure virtual

Create a resource's gRPC server.

Parameters
managerThe server's ResourceManager.
serverThe Server with which to register the relevant gRPC service.
Returns
a shared_ptr to the gRPC server.

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