.. index:: pair: class; FunctionalNodeFactory .. _doxid-class_functional_node_factory: class FunctionalNodeFactory =========================== .. toctree:: :hidden: Overview ~~~~~~~~ Creates an instance of :ref:`FunctionalNode ` with the right template given a function signature. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class FunctionalNodeFactory { public: // methods template static auto :ref:`create`( const std::string& id, std::function f ); }; .. _details-class_functional_node_factory: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Creates an instance of :ref:`FunctionalNode ` with the right template given a function signature. It hides all the complexity related with specifying correctly :ref:`FunctionalNode ` template and performs function signature checking ensuring that the instantiated :ref:`FunctionalNode ` is correct Methods ------- .. index:: pair: function; create .. _doxid-class_functional_node_factory_1a97d7366beebb79d99a4c163c265988bb: .. ref-code-block:: cpp :class: doxyrest-title-code-block template static auto create( const std::string& id, std::function f ) Instantiates a :ref:`FunctionalNode `. It takes as template parameters the number of inputs 'in_n' and outputs 'out_n' and a parameter pack containing the function arguments