.. index:: pair: class; OutputEngineNode .. _doxid-class_output_engine_node: class OutputEngineNode ====================== .. toctree:: :hidden: Overview ~~~~~~~~ Output node used to connect the computational graph with an :ref:`EngineClient `. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class OutputEngineNode: public :ref:`OutputNode` { public: // typedefs typedef :ref:`DataPackInterface`* :target:`DataPackInterfacePtr`; // construction :ref:`OutputEngineNode`( const std::string& id, const std::string& engineName, bool publishFromCache = false, unsigned int computePeriod = 1 ); // methods virtual std::string :ref:`typeStr`() const; :ref:`datapacks_set_t` :ref:`getDataPacks`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`NodeType`; // fields static const static std::map<:ref:`NodeType`, std::string> :ref:`nodeTypeStr` = {{:ref:`ComputationalNode::Input`, "Input"}, {ComputationalNode::Output, "Output"}, {ComputationalNode::Functional, "Functional"}}; // methods const std::string& :ref:`id`() const; :ref:`NodeType` :ref:`type`() const; virtual std::string :ref:`typeStr`() const; void :ref:`setVisited`(bool visited); bool :ref:`isVisited`() const; void :ref:`setDoCompute`(bool doCompute); virtual bool :ref:`doCompute`() const; static std::pair :ref:`parseNodeAddress`( const std::string& address, bool hasPort = true ); template :ref:`InputPort`* :ref:`getOrRegisterInput`(const std::string& id); unsigned int :ref:`getComputePeriod`(); void :ref:`setComputePeriod`(unsigned int computePeriod); bool :ref:`publishFromCache`(); virtual bool :ref:`doCompute`() const; .. _details-class_output_engine_node: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Output node used to connect the computational graph with an :ref:`EngineClient `. Construction ------------ .. index:: pair: function; OutputEngineNode .. _doxid-class_output_engine_node_1a9c9d68737fc2ed8a3dff38fad2bf6599: .. ref-code-block:: cpp :class: doxyrest-title-code-block OutputEngineNode( const std::string& id, const std::string& engineName, bool publishFromCache = false, unsigned int computePeriod = 1 ) Constructor Methods ------- .. index:: pair: function; typeStr .. _doxid-class_output_engine_node_1afc8b98fb25aee6fc96367ac80996b8a9: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string typeStr() const Returns the node 'type' as a string. .. index:: pair: function; getDataPacks .. _doxid-class_output_engine_node_1a651acbe0b20ef4c161897054f457ce8e: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`datapacks_set_t` getDataPacks() Returns all datapacks stored in the node and clears the cache