.. index:: pair: class; SimpleOutputEdge .. _doxid-class_simple_output_edge: template class SimpleOutputEdge =============================== .. toctree:: :hidden: Overview ~~~~~~~~ Helper template class used to implement Python output edge decorators. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template OUTPUT_CLASS> class SimpleOutputEdge { public: // construction :target:`SimpleOutputEdge`(); :ref:`SimpleOutputEdge`( std::string keyword, std::string id, std::string port, bool publishFromCache, unsigned int computePeriod ); // methods boost::python::object :ref:`pySetup`(const boost::python::object& obj); }; // direct descendants class :ref:`OutputDummyEdge`; class :ref:`OutputEngineEdge`; template class :ref:`OutputMQTTEdge`; template class :ref:`OutputROSEdge`; class :ref:`OutputSpinnakerEdge`; .. _details-class_simple_output_edge: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Helper template class used to implement Python output edge decorators. Construction ------------ .. index:: pair: function; SimpleOutputEdge .. _doxid-class_simple_output_edge_1a6766b3d90c3fc42e0bb6b1cda54102fa: .. ref-code-block:: cpp :class: doxyrest-title-code-block SimpleOutputEdge( std::string keyword, std::string id, std::string port, bool publishFromCache, unsigned int computePeriod ) Constructor. Methods ------- .. index:: pair: function; pySetup .. _doxid-class_simple_output_edge_1ac9393b03ca5a6708fec5b48936210ab3: .. 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 output node. Afterwards add a port to it and registers an edge from 'obj'. 'obj' is expected to be a Python object wrapping a :ref:`PythonFunctionalNode `