|
| | DPInputMQTTNode (const std::string &id, const std::string &address) |
| | Constructor. More...
|
| |
| | InputMQTTNode (const std::string &id, const std::string &address) |
| | Constructor. More...
|
| |
| std::string | typeStr () const override |
| | Returns the node 'type' as a string. More...
|
| |
| | InputNode (const std::string &id, InputNodePolicies::MsgPublishPolicy msgPublishPolicy=InputNodePolicies::MsgPublishPolicy::LAST, InputNodePolicies::MsgCachePolicy msgCachePolicy=InputNodePolicies::MsgCachePolicy::KEEP_CACHE, size_t queue_size=10) |
| | Constructor. More...
|
| |
| void | registerOutput (const std::string &id) |
| | Registers an Output port with id 'id' with this node. More...
|
| |
| OutputPort< DataPack< MSG_TYPE > > * | getSinglePort (const std::string &id) |
| | Returns a pointer to single output port if the port is registered, nullptr otherwise. More...
|
| |
| OutputPort< std::vector< const DataPack< MSG_TYPE > * > > * | getListPort (const std::string &id) |
| | Returns a pointer to list output port if the port is registered, nullptr otherwise. More...
|
| |
| InputNodePolicies::MsgPublishPolicy | msgPublishPolicy () |
| |
| InputNodePolicies::MsgCachePolicy | msgCachePolicy () |
| |
| void | setMsgPublishPolicy (InputNodePolicies::MsgPublishPolicy msgPublishPolicy) |
| |
| void | setMsgCachePolicy (InputNodePolicies::MsgCachePolicy msgCachePolicy) |
| |
| | ComputationalNode ()=delete |
| |
| virtual | ~ComputationalNode ()=default |
| |
| | ComputationalNode (std::string id, NodeType type) |
| | Constructor. More...
|
| |
| const std::string & | id () const |
| | Returns the node 'id'. More...
|
| |
| NodeType | type () const |
| | Returns the node 'type'. More...
|
| |
| virtual std::string | typeStr () const |
| | Returns the node 'type' as a string. More...
|
| |
| void | setVisited (bool visited) |
| | Sets a value for the node 'visited' property, used for graph traversing. More...
|
| |
| bool | isVisited () const |
| | Returns true if the node has been marked as visited, false otherwise. More...
|
| |
| void | setDoCompute (bool doCompute) |
| | Sets a value for the node 'doCompute' property, used in some graph execution modes. More...
|
| |
| virtual bool | doCompute () const |
| | Tells if this node should be executed in this graph execution cycle, used in some graph execution modes. More...
|
| |
|
| void | setMsgFromString () override |
| | set the msg conversion function depending on template argument MSG_TYPE More...
|
| |
| void | configure () override |
| | Configures the node making it ready to execute 'compute'. More...
|
| |
| void | topic_callback (const std::string &msg) |
| | callback function used in the MQTT subscriber More...
|
| |
| bool | updatePortData (const std::string &id) override |
| | Updates pointers stored in _portMap for port 'id'. More...
|
| |
| void | compute () override final |
| | Compute. Updates and sends stored msgs. More...
|
| |
| virtual void | graphCycleStartCB () |
| | Function called by the Computational Graph at the beginning of a new execution cycle. More...
|
| |
| virtual void | graphLoadedCB () |
| | Function called by the Computational Graph to nodes that the graph has been completely loaded. More...
|
| |