| Viam C++ SDK current
    | 
A GenericService represents any service that can execute arbitrary commands.  
 More...
#include "services/generic/generic.hpp"
 Inheritance diagram for viam::sdk::GenericService:
 Inheritance diagram for viam::sdk::GenericService:| Public Member Functions | |
| virtual ProtoStruct | do_command (const ProtoStruct &command)=0 | 
| Send/receive arbitrary commands to the resource. | |
| API | api () const override | 
| Creates a GenericServiceAPI. | |
|  Public Member Functions inherited from viam::sdk::Service | |
| Name | get_resource_name () const override | 
| Returns the Namefor a particular resource. | |
|  Public Member Functions inherited from viam::sdk::Resource | |
| Resource (std::string name) | |
| virtual std::string | name () const | 
| Return the resource's name. | |
| void | set_log_level (log_level) const | 
| Set the log level for log messages originating from this Resource. | |
| Protected Member Functions | |
| GenericService (std::string name) | |
|  Protected Member Functions inherited from viam::sdk::Service | |
| Service (std::string name) | |
|  Protected Member Functions inherited from viam::sdk::Resource | |
| Name | get_resource_name (const std::string &type) const | 
| Additional Inherited Members | |
|  Protected Attributes inherited from viam::sdk::Resource | |
| LogSource | logger_ | 
A GenericService represents any service that can execute arbitrary commands. 
This acts as an abstract base class to be inherited from by any drivers representing specific generic service implementations. This class cannot be used on its own.
| 
 | overridevirtual | 
Creates a GenericService API. 
Implements viam::sdk::Resource.
| 
 | pure virtual | 
Send/receive arbitrary commands to the resource.
| command | the command to execute. | 
Implemented in viam::sdk::impl::GenericServiceClient.