5 #include <unordered_map> 6 #include <unordered_set> 46 : name_(
std::move(name)) {}
48 const char*
what() const noexcept
override {
63 std::pair<MessageDefinitionFormat, std::string> get_full_text(
64 const std::string& package_resource_name);
69 std::size_t h1 = std::hash<MessageDefinitionFormat>()(di.
format);
80 std::unordered_map<DefinitionIdentifier, MessageSpec, DefinitionIdentifierHash>
85 const std::string& package_context);
constexpr char ACTION_GOAL_SERVICE_SUFFIX[]
std::set< std::string > parse_dependencies(MessageDefinitionFormat format, const std::string &text, const std::string &package_context)
constexpr char SERVICE_RESPONSE_MESSAGE_SUFFIX[]
constexpr char ACTION_RESULT_SERVICE_SUFFIX[]
MessageDefinitionFormat format
std::size_t operator()(const DefinitionIdentifier &di) const
MessageDefinitionFormat format
std::unordered_map< DefinitionIdentifier, MessageSpec, DefinitionIdentifierHash > msg_specs_by_definition_identifier_
bool operator==(const DefinitionIdentifier &di) const
const std::set< std::string > dependencies
constexpr char ACTION_FEEDBACK_MESSAGE_SUFFIX[]
const char * what() const noexcept override
constexpr char SERVICE_REQUEST_MESSAGE_SUFFIX[]
std::string package_resource_name
DefinitionNotFoundError(std::string name)