10#include "NodeFactory.hpp"
11#include "SwitchboardObject.hpp"
15namespace switchboard {
27 Extension() : SwitchboardObject(SwitchboardObjectType::EXTENSION) {}
41 virtual Result<void>
initialize(
const std::map<std::string, std::any>& config) {
virtual Result< void > initialize(const std::map< std::string, std::any > &config)
Initializes the extension.
Definition Extension.hpp:41
virtual std::shared_ptr< NodeFactory > getNodeFactory()=0
Gets the NodeFactory object of the extension.
virtual std::string getName()=0
Gets the name of the extension.
virtual ~Extension()=default
Destructor.
Extension()
Constructor for the Extension class.
Definition Extension.hpp:27
virtual Result< void > deinitialize()
Deinitializes the extension.
Definition Extension.hpp:50