.. index:: pair: class; gazebo::ModelGrpcDataPackController .. _doxid-classgazebo_1_1_model_grpc_data_pack_controller: class gazebo::ModelGrpcDataPackController ========================================= .. toctree:: :hidden: Overview ~~~~~~~~ Interface for Models. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ModelGrpcDataPackController: public :ref:`DataPackController` { public: // construction :target:`ModelGrpcDataPackController`( const std::string& modelName, const physics::ModelPtr& model ); // methods virtual void :ref:`handleDataPackData`(const google::protobuf::Message& data); virtual google::protobuf::Message* :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; .. _details-classgazebo_1_1_model_grpc_data_pack_controller: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Interface for Models. Methods ------- .. index:: pair: function; handleDataPackData .. _doxid-classgazebo_1_1_model_grpc_data_pack_controller_1a3aea491c53f5cb1e3fda40b3a4c5c455: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void handleDataPackData(const google::protobuf::Message& 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_model_grpc_data_pack_controller_1a3895f363a500108aa3315c797010fd37: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual google::protobuf::Message* getDataPackInformation() Get datapack information to be forwarded to the NRP. .. rubric:: Returns: Returns a DATA_TYPE pointer containing requested data