.. index:: pair: class; InputMQTTNode .. _doxid-class_input_m_q_t_t_node: template class InputMQTTNode ============================ .. 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 InputMQTTNode: public :ref:`InputNode` { public: // construction :ref:`InputMQTTNode`(const std::string& id, const std::string& address); // methods virtual std::string :ref:`typeStr`() const; }; // direct descendants template class :ref:`DPInputMQTTNode`; 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_m_q_t_t_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; InputMQTTNode .. _doxid-class_input_m_q_t_t_node_1ab7e145d1ae5bf50268ea12914364cac7: .. ref-code-block:: cpp :class: doxyrest-title-code-block InputMQTTNode(const std::string& id, const std::string& address) Constructor. Methods ------- .. index:: pair: function; typeStr .. _doxid-class_input_m_q_t_t_node_1aabe62cfcab126603c1cb3ad4719e1efe: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual std::string typeStr() const Returns the node 'type' as a string.