.. index:: pair: class; NestEngineJSONDataPackController .. _doxid-class_nest_engine_j_s_o_n_data_pack_controller: class NestEngineJSONDataPackController ====================================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class NestEngineJSONDataPackController: public :ref:`JsonDataPackController` { public: // construction :target:`NestEngineJSONDataPackController`( const :ref:`DataPackIdentifier`& devID, boost::python::object nodeCollection, boost::python::dict nest ); // methods virtual void :ref:`handleDataPackData`(const :ref:`nlohmann::json`& data); virtual :ref:`nlohmann::json`* :ref:`getDataPackInformation`(); void :ref:`setNestID`(boost::python::dict nest, boost::python::object nodeCollection); }; 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-class_nest_engine_j_s_o_n_data_pack_controller: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; handleDataPackData .. _doxid-class_nest_engine_j_s_o_n_data_pack_controller_1a40fdf27e12d1a056ebee40b23942de36: .. 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-class_nest_engine_j_s_o_n_data_pack_controller_1a6d04dddc266f8b0509194e8b4c0f7936: .. 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 .. index:: pair: function; setNestID .. _doxid-class_nest_engine_j_s_o_n_data_pack_controller_1ad2e18b21813539ff1e6b819f131d8db5: .. ref-code-block:: cpp :class: doxyrest-title-code-block void setNestID(boost::python::dict nest, boost::python::object nodeCollection) Set Nest properties. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - nest - Nest instance * - nodeCollection - Nest GIDs of model managed by this controller