gRPC client implementation of a GenericComponent
.
More...
#include <generic_client.hpp>
|
| GenericComponentClient (std::string name, std::unique_ptr< viam::component::generic::v1::GenericService::StubInterface > stub) |
|
| GenericComponent (std::string name) |
|
| Component (std::string name) |
|
Name | get_resource_name (const std::string &type) const |
|
gRPC client implementation of a GenericComponent
.
◆ do_command()
ProtoStruct viam::sdk::impl::GenericComponentClient::do_command |
( |
const ProtoStruct & | command | ) |
|
|
overridevirtual |
Send/receive arbitrary commands to the resource.
- Parameters
-
command | the command to execute. |
- Returns
- The result of the executed command.
Implements viam::sdk::GenericComponent.
◆ get_geometries()
std::vector< GeometryConfig > viam::sdk::impl::GenericComponentClient::get_geometries |
( |
const ProtoStruct & | extra | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: