Viam C++ SDK current
Loading...
Searching...
No Matches
component.hpp
1#pragma once
2
3#include <string>
4
5#include <viam/sdk/resource/resource.hpp>
6
7namespace viam {
8namespace sdk {
9
10class Component : public Resource {
11 public:
12 Component();
13 Name get_resource_name() const override;
14
15 protected:
16 explicit Component(std::string name);
17};
18
19} // namespace sdk
20} // namespace viam
Definition component.hpp:10
Name get_resource_name() const override
Returns the Name for a particular resource.
A name for specific instances of resources.
Definition resource_api.hpp:63
Definition resource.hpp:14
virtual std::string name() const
Return the resource's name.