Output node used to connect the computational graph with an EngineClient.
More...
#include <output_node.h>
|
| OutputEngineNode (const std::string &id, const std::string &engineName, bool publishFromCache=false, unsigned int computePeriod=1) |
|
std::string | typeStr () const override |
| Returns the node 'type' as a string. More...
|
|
datapacks_set_t | getDataPacks () |
|
| OutputNode (const std::string &id, OutputNodePolicies::PublishFormatPolicy publishFormatPolicy=OutputNodePolicies::PublishFormatPolicy::SERIES, bool publishFromCache=false, int maxPortConnections=0, unsigned int computePeriod=1) |
| Constructor. More...
|
|
InputPort< T_IN, DataPackInterface * > * | getOrRegisterInput (const std::string &id) |
| Gets or register input port to this node and returns a pointer to it. More...
|
|
unsigned int | getComputePeriod () |
|
void | setComputePeriod (unsigned int computePeriod) |
|
bool | publishFromCache () |
|
virtual bool | doCompute () const override final |
| Tells if this node should be executed in this graph execution cycle, used in some graph execution modes. More...
|
|
| 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...
|
|
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...
|
|
Output node used to connect the computational graph with an EngineClient.
◆ DataPackInterfacePtr
◆ OutputEngineNode()
OutputEngineNode::OutputEngineNode |
( |
const std::string & |
id, |
|
|
const std::string & |
engineName, |
|
|
bool |
publishFromCache = false , |
|
|
unsigned int |
computePeriod = 1 |
|
) |
| |
|
inline |
◆ getDataPacks()
Returns all datapacks stored in the node and clears the cache
◆ sendBatchMsg()
void OutputEngineNode::sendBatchMsg |
( |
const std::string & |
, |
|
|
const std::vector< const DataPackInterfacePtr * > & |
|
|
) |
| |
|
inlineoverrideprotected |
◆ sendSingleMsg()
◆ typeStr()
std::string OutputEngineNode::typeStr |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: