13 #include <boost/any.hpp>
71 virtual ~
Module() =
default;
76 virtual std::string
name()
const noexcept = 0;
98 virtual boost::any
get(
const std::string& ,
const std::string&
111 virtual bool has(
const std::string& ,
const std::string&
112 )
const noexcept = 0;
138 virtual std::vector<std::string>
announceModels(
const std::string& interface)
const noexcept = 0;
virtual std::vector< std::string > announceInterfaces() const noexcept=0
Announces all interfaces of which the module provides at least one model.
virtual std::vector< std::string > announceModels(const std::string &interface) const noexcept=0
Abstract base class for a module, which flexibly provides consumers with common interface derived cla...
Definition: Module.h:68
virtual bool has(const std::string &, const std::string &) const noexcept=0
Checks if this module supplies a particular model of an interface.
virtual std::string name() const noexcept=0
Creates a type-erased wrapper around a shared_ptr to a model of a interface.