Helper class used to implement Python output edge decorators. More...
#include <output_edge.h>
Public Member Functions | |
OutputEdge ()=delete | |
OutputEdge (std::string keyword, std::string id, std::string port, bool publishFromCache, unsigned int computePeriod) | |
Constructor. More... | |
boost::python::object | pySetup (const boost::python::object &obj) |
call function in the decorator More... | |
Protected Member Functions | |
void | registerEdgePythonFN (OUTPUT_CLASS *oNode, std::shared_ptr< PythonFunctionalNode > &pyFn) |
registers an edge between oNode and pyFn. PythonFunctionalNode case More... | |
void | registerEdgeFNBase (OUTPUT_CLASS *oNode, const std::shared_ptr< FunctionalNodeBase > &pyFn) |
registers an edge between oNode and pyFn. FunctionalNodeBase case More... | |
template<class T_INPUT > | |
void | checkPortCanConnectOrThrow (InputPort< T_INPUT, T_OUT > *iPort, OUTPUT_CLASS *oNode) |
virtual OUTPUT_CLASS * | makeNewNode ()=0 |
Protected Attributes | |
std::string | _keyword |
std::string | _id |
std::string | _port |
bool | _publishFromCache |
unsigned int | _computePeriod |
Helper class used to implement Python output edge decorators.
|
delete |
|
inline |
Constructor.
|
inlineprotected |
|
protectedpure virtual |
It instantiates a new node of type INPUT_CLASS
To be implemented by any final class derived from this template class
Implemented in DPOutputMQTTEdge< MSG_TYPE >, OutputMQTTEdge< MSG_TYPE >, OutputMQTTEdge< DataPack< MSG_TYPE > * >, OutputEngineEdge, OutputSpinnakerEdge, OutputROSEdge< MSG_TYPE >, and OutputDummyEdge.
|
inline |
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
|
inlineprotected |
registers an edge between oNode and pyFn. FunctionalNodeBase case
|
inlineprotected |
registers an edge between oNode and pyFn. PythonFunctionalNode case
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |