Helper template class used to implement Python input edge decorators. More...
#include <input_edge.h>
Public Member Functions | |
InputEdge ()=delete | |
InputEdge (std::string keyword, std::string id, std::string port, InputNodePolicies::MsgPublishPolicy msgPublishPolicy, InputNodePolicies::MsgCachePolicy msgCachePolicy) | |
Constructor. More... | |
boost::python::object | pySetup (const boost::python::object &obj) |
call function in associated Python decorator More... | |
Protected Member Functions | |
void | registerEdgePythonFN (INPUT_CLASS *iNode, std::shared_ptr< PythonFunctionalNode > &pyFn) |
registers an edge between iNode and pyFn. PythonFunctionalNode case More... | |
void | registerEdgeFNBase (INPUT_CLASS *iNode, std::shared_ptr< FunctionalNodeBase > &pyFn) |
registers an edge between iNode and pyFn. FunctionalNodeBase case More... | |
virtual INPUT_CLASS * | makeNewNode ()=0 |
Protected Attributes | |
std::string | _keyword |
std::string | _id |
std::string | _port |
InputNodePolicies::MsgPublishPolicy | _msgPublishPolicy |
InputNodePolicies::MsgCachePolicy | _msgCachePolicy |
Helper template class used to implement Python input edge decorators.
|
delete |
|
inline |
Constructor.
|
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 DPInputMQTTEdge< MSG_TYPE >, InputMQTTEdge< MSG_TYPE >, InputMQTTEdge< DataPack< MSG_TYPE > >, InputSpinnakerEdge, InputEngineEdge, InputROSEdge< MSG_TYPE >, InputIterationEdge, InputClockEdge, and InputDummyEdge.
|
inline |
call function in associated Python 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 Functional Node
|
inlineprotected |
registers an edge between iNode and pyFn. FunctionalNodeBase case
|
inlineprotected |
registers an edge between iNode and pyFn. PythonFunctionalNode case
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |