template class OutputEdge¶
Overview¶
Helper class used to implement Python output edge decorators. More…
#include <output_edge.h> template <class T_IN, class T_OUT, OUTPUT_C<T_OUT> OUTPUT_CLASS> class OutputEdge { public: // construction OutputEdge(); OutputEdge( std::string keyword, std::string id, std::string port, bool publishFromCache, unsigned int computePeriod ); // methods boost::python::object pySetup(const boost::python::object& obj); }; // direct descendants class OutputDummyEdge; class OutputEngineEdge; template <class MSG_TYPE> class OutputMQTTEdge; template <class MSG_TYPE> class OutputROSEdge; class OutputSpinnakerEdge;
Detailed Documentation¶
Helper class used to implement Python output edge decorators.
Construction¶
OutputEdge( std::string keyword, std::string id, std::string port, bool publishFromCache, unsigned int computePeriod )
Constructor.
Methods¶
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 Functional Node