Viam C++ SDK current
|
Public Member Functions | |
virtual std::shared_ptr< ResourceServer > | create_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) | |
|
pure virtual |
Create a resource's gRPC server.
manager | The server's ResourceManager . |
server | The Server with which to register the relevant gRPC service. |
shared_ptr
to the gRPC server.