.. index:: pair: class; EngineDataPack .. _doxid-class_engine_data_pack: class EngineDataPack ==================== .. toctree:: :hidden: Overview ~~~~~~~~ Class for input datapacks for transceiver functions, mapped to :ref:`EngineDataPack ` python decorator. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class EngineDataPack: public :ref:`TransceiverDataPackInterface` { public: // construction :target:`EngineDataPack`( const std::string& keyword, const :ref:`DataPackIdentifier`& datapackID, bool isPreprocessed ); // methods virtual :ref:`datapack_identifiers_set_t` :ref:`getRequestedDataPackIDs`() const; virtual boost::python::object :ref:`runTf`( boost::python::tuple& args, boost::python::dict& kwargs, :ref:`datapacks_set_t` dataPacks ); }; // direct descendants class :ref:`PreprocessedDataPack`; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // typedefs typedef std::shared_ptr :ref:`shared_ptr`; typedef std::shared_ptr :ref:`const_shared_ptr`; typedef std::unique_ptr :ref:`unique_ptr`; typedef std::unique_ptr :ref:`const_unique_ptr`; // methods template :ref:`TransceiverDataPackInterface::shared_ptr` :ref:`pySetup`(const :ref:`TransceiverDataPackInterface::shared_ptr`& tfDataPack); virtual const std::string& :ref:`linkedEngineName`() const; virtual bool :ref:`isPreprocessing`() const; virtual boost::python::object :ref:`runTf`( boost::python::tuple& args, boost::python::dict& kwargs, :ref:`datapacks_set_t` dataPacks ); virtual :ref:`datapack_identifiers_set_t` :ref:`updateRequestedDataPackIDs`(:ref:`datapack_identifiers_set_t`&& datapackIDs = :ref:`datapack_identifiers_set_t`()) const; virtual :ref:`datapack_identifiers_set_t` :ref:`getRequestedDataPackIDs`() const; static void :ref:`setTFInterpreter`(:ref:`FunctionManager`* interpreter); static const :ref:`FunctionManager`* :ref:`getFunctionManager`(); .. _details-class_engine_data_pack: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Class for input datapacks for transceiver functions, mapped to :ref:`EngineDataPack ` python decorator. Methods ------- .. index:: pair: function; getRequestedDataPackIDs .. _doxid-class_engine_data_pack_1abc077e345566e927af7691505e478a10: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`datapack_identifiers_set_t` getRequestedDataPackIDs() const Returns datapack IDs of this :ref:`DataPack ` that should be requested from the engines. TODO: Make protected. .. index:: pair: function; runTf .. _doxid-class_engine_data_pack_1af0fdd188ce9b39a6fb68660d6ddc68e7: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual boost::python::object runTf( boost::python::tuple& args, boost::python::dict& kwargs, :ref:`datapacks_set_t` dataPacks ) Execute Transceiver Function. Base class will simply call runTf on _function. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - args - Arguments for execution. Can be altered by any TransceiverDataPackInterfaces. Base class will only pass them along * - kwargs - Keyword arguments for execution. Can be altered by any TransceiverDataPackInterfaces. Base class will only pass them along .. rubric:: Returns: Returns result of :ref:`TransceiverFunction ` execution.