4#include <unordered_map>
6#include <viam/sdk/common/proto_convert.hpp>
7#include <viam/sdk/common/proto_value.hpp>
8#include <viam/sdk/referenceframe/frame.hpp>
9#include <viam/sdk/resource/resource_api.hpp>
16class ResourceLevelServiceConfig;
27 ProtoStruct attributes;
35 std::string namespace_,
36 ProtoStruct attributes,
44 const API& api()
const;
46 const Model& model()
const;
47 const std::string& name()
const;
48 const std::string& namespace_()
const;
49 const std::string& type()
const;
50 const std::vector<std::string>& depends_on()
const;
51 const std::vector<ResourceLevelServiceConfig>& service_config()
const;
52 const ProtoStruct& attributes()
const;
59 std::string namespace__;
61 std::vector<std::string> depends_on_;
62 std::vector<ResourceLevelServiceConfig> service_config_;
63 ProtoStruct attributes_;
65 std::vector<std::string> implicit_depends_on_;
69namespace proto_convert_details {
78 void operator()(
const ResourceConfig&, app::v1::ComponentConfig*)
const;
Definition resource_api.hpp:21
Defines the namespace_, family, and name for a particular resource model.
Definition resource_api.hpp:125
A name for specific instances of resources.
Definition resource_api.hpp:61
Type-erased value for storing google::protobuf::Value types. A ProtoValue can be nullptr,...
Definition proto_value.hpp:55
Definition resource.hpp:31
Definition resource.hpp:25
Definition proto_convert.hpp:24
Definition proto_convert.hpp:18