17namespace switchboard {
50 virtual Node*
createNode(
const std::string& type,
const std::map<std::string, std::any>& config) = 0;
Creates node instances.
Definition NodeFactory.hpp:23
virtual std::string getNodeTypePrefix()=0
Returns the prefix of the node type.
virtual Node * createNode(const std::string &type, const std::map< std::string, std::any > &config)=0
Creates an Node instance based on type information.
virtual std::vector< std::string > getNodeTypes()
Returns the list of node types that can be created by this factory.
Definition NodeFactory.hpp:39