15#ifndef AWVIZ_COMMON__DISPLAY_FACTORY_HPP_
16#define AWVIZ_COMMON__DISPLAY_FACTORY_HPP_
71 bool has_root_node(
const tinyxml2::XMLElement * element)
const;
78 bool has_library_root(
const tinyxml2::XMLElement * element)
const;
84 void cache_classes(
const tinyxml2::XMLElement * library);
91 std::set<std::string> parse_message_types(
const tinyxml2::XMLElement * element)
const;
98 std::string lookup_derived_class(
const tinyxml2::XMLElement * element)
const;
106 std::string lookup_class_id(
107 const tinyxml2::XMLElement * element,
const std::string & derived)
const;
110 std::map<std::string, std::set<std::string>>
Factory class for Display.
Definition: display_factory.hpp:35
static constexpr const char * LIBRARY_TAG
XML tag of library.
Definition: display_factory.hpp:59
std::optional< std::string > get_class_lookup_name(const std::string &msg_type) const
Get the Class Id of the corresponding message type.
Definition: display_factory.cpp:52
const std::set< std::string > & get_message_types(const std::string &lookup_name)
Get the set of declared message types.
Definition: display_factory.cpp:42
static constexpr const char * TYPE_ATTRIBUTE
XML attribute of type.
Definition: display_factory.hpp:62
static constexpr const char * CLASS_TAG
XML tag of class.
Definition: display_factory.hpp:60
DisplayFactory()
Definition: display_factory.cpp:19
static constexpr const char * NAME_ATTRIBUTE
XML attribute of name.
Definition: display_factory.hpp:63
~DisplayFactory()=default
static constexpr const char * MESSAGE_TYPE_TAG
XML tag of message type.
Definition: display_factory.hpp:61
Abstract base class representing a plugin load-able class factory.
Definition: plugin_factory.hpp:44
Definition: display.hpp:30