.. index:: pair: class; InputROSNode .. _doxid-class_input_r_o_s_node: template class InputROSNode =========================== .. toctree:: :hidden: Overview ~~~~~~~~ Input node used to connect a ROS subscriber to the computational graph. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template class InputROSNode: public :ref:`InputNode` { public: // construction :ref:`InputROSNode`(const std::string& id); // methods virtual std::string :ref:`typeStr`() const; }; 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 ); void :ref:`registerOutput`(const std::string& id); :ref:`OutputPort`* :ref:`getSinglePort`(const std::string& id); :ref:`OutputPort`>* :ref:`getListPort`(const std::string& id); :ref:`InputNodePolicies::MsgPublishPolicy` :ref:`msgPublishPolicy`(); :ref:`InputNodePolicies::MsgCachePolicy` :ref:`msgCachePolicy`(); void :ref:`setMsgPublishPolicy`(:ref:`InputNodePolicies::MsgPublishPolicy` msgPublishPolicy); void :ref:`setMsgCachePolicy`(:ref:`InputNodePolicies::MsgCachePolicy` msgCachePolicy); .. _details-class_input_r_o_s_node: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Input node used to connect a ROS subscriber to the computational graph. The template parameter MSG_TYPE is the ROS msg type this node subscribes to Construction ------------ .. index:: pair: function; InputROSNode .. _doxid-class_input_r_o_s_node_1a314f0fb99e37fee2949eff74850bfb78: .. ref-code-block:: cpp :class: doxyrest-title-code-block InputROSNode(const std::string& id) Constructor. Methods ------- .. index:: pair: function; typeStr .. _doxid-class_input_r_o_s_node_1a69407d36b90ce81165fae1a0f7dc4b15: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string typeStr() const Returns the node 'type' as a string.