Viam C++ SDK current
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
viam::sdk::Resource Class Referenceabstract
+ Inheritance diagram for viam::sdk::Resource:

Public Member Functions

 Resource (std::string name)
 
virtual API api () const =0
 Returns the API associated with a particular resource.
 
virtual Name get_resource_name () const
 Returns the Name for a particular resource.
 
virtual std::string name () const
 Return the resource's name.
 

Protected Member Functions

Name get_resource_name (const std::string &type) const
 

Member Function Documentation

◆ api()

virtual API viam::sdk::Resource::api ( ) const
pure virtual

◆ get_resource_name()

virtual Name viam::sdk::Resource::get_resource_name ( ) const
virtual

Returns the Name for a particular resource.

Reimplemented in viam::sdk::Component, and viam::sdk::Service.


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