orogen_metadata
Metadata.hpp
Go to the documentation of this file.
1 #ifndef OROGEN_METADATA_METADATA_HPP
2 #define OROGEN_METADATA_METADATA_HPP
3 
4 #include <vector>
5 #include <string>
6 
7 namespace metadata {
8  struct KeyValue
9  {
11  KeyValue(const std::string &key, const std::string &value): key(key),value(value){}
12  std::string key;
13  std::string value;
14  };
15 
17  {
19  InterfaceObject(const std::string &name):name(name){}
20  std::string name;
21  std::vector<KeyValue> metadata;
22  };
23 
24  struct TaskContext
25  {
26  std::vector<KeyValue> metadata;
27  std::vector<InterfaceObject> properties;
28  std::vector<InterfaceObject> input_ports;
29  std::vector<InterfaceObject> output_ports;
30  };
31 }
32 
33 #endif
std::string value
Definition: Metadata.hpp:13
std::string key
Definition: Metadata.hpp:12
std::vector< KeyValue > metadata
Definition: Metadata.hpp:26
std::vector< InterfaceObject > output_ports
Definition: Metadata.hpp:29
InterfaceObject(const std::string &name)
Definition: Metadata.hpp:19
std::vector< KeyValue > metadata
Definition: Metadata.hpp:21
std::vector< InterfaceObject > input_ports
Definition: Metadata.hpp:28
InterfaceObject()
Definition: Metadata.hpp:18
KeyValue(const std::string &key, const std::string &value)
Definition: Metadata.hpp:11
Definition: Metadata.hpp:16
KeyValue()
Definition: Metadata.hpp:10
Definition: Metadata.hpp:7
Definition: Metadata.hpp:24
Definition: Metadata.hpp:8
std::string name
Definition: Metadata.hpp:20
std::vector< InterfaceObject > properties
Definition: Metadata.hpp:27