.. index:: pair: class; SimpleInputEdge .. _doxid-class_simple_input_edge: template class SimpleInputEdge ============================== .. toctree:: :hidden: Overview ~~~~~~~~ Helper template class used to implement Python input edge decorators. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template INPUT_CLASS> class SimpleInputEdge { public: // construction :target:`SimpleInputEdge`(); :ref:`SimpleInputEdge`( std::string keyword, std::string id, std::string port, :ref:`InputNodePolicies::MsgPublishPolicy` msgPublishPolicy, :ref:`InputNodePolicies::MsgCachePolicy` msgCachePolicy ); // methods boost::python::object :ref:`pySetup`(const boost::python::object& obj); }; // direct descendants class :ref:`InputDummyEdge`; class :ref:`InputEngineEdge`; template class :ref:`InputMQTTEdge`; template class :ref:`InputROSEdge`; class :ref:`InputSpinnakerEdge`; .. _details-class_simple_input_edge: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Helper template class used to implement Python input edge decorators. Construction ------------ .. index:: pair: function; SimpleInputEdge .. _doxid-class_simple_input_edge_1ad29908f73ca06788720ef62908647d3c: .. ref-code-block:: cpp :class: doxyrest-title-code-block SimpleInputEdge( std::string keyword, std::string id, std::string port, :ref:`InputNodePolicies::MsgPublishPolicy` msgPublishPolicy, :ref:`InputNodePolicies::MsgCachePolicy` msgCachePolicy ) Constructor. Methods ------- .. index:: pair: function; pySetup .. _doxid-class_simple_input_edge_1a9b24aa19aa3659abba9c173b2738cf5b: .. ref-code-block:: cpp :class: doxyrest-title-code-block boost::python::object pySetup(const boost::python::object& obj) **call** function in the decorator It creates and registers an input node. Afterwards add a port to it and registers an edge to 'obj'. 'obj' is expected to be a Python object wrapping a :ref:`PythonFunctionalNode `