17#ifndef GZ_SIM_COMPONENTS_SEMANTIC_TAGS_HH_
18#define GZ_SIM_COMPONENTS_SEMANTIC_TAGS_HH_
20#include <gz/msgs/stringmsg_v.pb.h>
29#include "gz/sim/config.hh"
36inline namespace GZ_SIM_VERSION_NAMESPACE
46 msgs::StringMsg_V msg;
47 for (
const auto &tag : _tags)
51 auto result = msg.SerializeToOstream(&_out);
60 msgs::StringMsg_V msg;
61 if(!msg.ParsePartialFromIstream(&_in))
66 for (
const auto &item : msg.data())
82using SemanticTags = Component<std::vector<std::string>,
class SemanticTagsTag,
83 serializers::SemanticTagsSerializer>;