.. index:: pair: class; gazebo::JointDataPackController .. _doxid-classgazebo_1_1_joint_data_pack_controller: class gazebo::JointDataPackController ===================================== .. toctree:: :hidden: Overview ~~~~~~~~ Interface for a single joint. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class JointDataPackController: public :ref:`JsonDataPackController` { public: // construction :target:`JointDataPackController`( const physics::JointPtr& joint, const physics::JointControllerPtr& jointController, const std::string& jointName ); // methods virtual void :ref:`handleDataPackData`(const :ref:`nlohmann::json`& data); virtual :ref:`nlohmann::json`* :ref:`getDataPackInformation`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods virtual DATA_TYPE* :ref:`getDataPackInformation`() = 0; virtual void :ref:`handleDataPackData`(const DATA_TYPE& data) = 0; const :ref:`nlohmann::json`& :ref:`getEmptyDataPack`() const; .. _details-classgazebo_1_1_joint_data_pack_controller: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Interface for a single joint. Methods ------- .. index:: pair: function; handleDataPackData .. _doxid-classgazebo_1_1_joint_data_pack_controller_1a713f98fddd3f925121b359ce29ecce3c: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void handleDataPackData(const :ref:`nlohmann::json`& data) Handle received datapack data. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - data - Data to be processed .. index:: pair: function; getDataPackInformation .. _doxid-classgazebo_1_1_joint_data_pack_controller_1a0bd9ecfcd64e718073c27eef837b92ae: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`nlohmann::json`* getDataPackInformation() Get datapack information to be forwarded to the NRP. .. rubric:: Returns: Returns a DATA_TYPE pointer containing requested data