Class for input multiple datapacks for a single transceiver function, mapped to EngineDataPacks python decorator. More...
#include <from_engine_datapack.h>
Public Member Functions | |
EngineDataPacks (const std::string &keyword, const boost::python::list &datapackListNames, const std::string &engineName, bool isPreprocessed) | |
virtual | ~EngineDataPacks () override=default |
datapack_identifiers_set_t | getRequestedDataPackIDs () const override |
Returns datapack IDs of this DataPack that should be requested from the engines. TODO: Make protected. More... | |
boost::python::object | runTf (boost::python::tuple &args, boost::python::dict &kwargs, datapacks_set_t dataPacks) override |
Execute Transceiver Function. Base class will simply call runTf on _function. More... | |
![]() | |
TransceiverDataPackInterface ()=default | |
virtual | ~TransceiverDataPackInterface ()=default |
template<class TRANSCEIVER_DATAPACK > | |
TransceiverDataPackInterface::shared_ptr | pySetup (const TransceiverDataPackInterface::shared_ptr &tfDataPack) |
Decorator call() function. Takes the lower decorator as a parameter. Moves the given class into a shared_ptr, which will be managed by the next decorator. More... | |
virtual const std::string & | linkedEngineName () const |
Get name of engine this transceiver is linked to. More... | |
virtual bool | isPreprocessing () const |
Indicates if this is a preprocessing function. More... | |
virtual datapack_identifiers_set_t | updateRequestedDataPackIDs (datapack_identifiers_set_t &&datapackIDs=datapack_identifiers_set_t()) const |
Appends its own datapack requests onto datapackIDs. Uses getRequestedDataPackIDs to check which IDs are requested by this datapack. More... | |
Additional Inherited Members | |
![]() | |
using | shared_ptr = std::shared_ptr< TransceiverDataPackInterface > |
using | const_shared_ptr = std::shared_ptr< const TransceiverDataPackInterface > |
using | unique_ptr = std::unique_ptr< TransceiverDataPackInterface > |
using | const_unique_ptr = std::unique_ptr< const TransceiverDataPackInterface > |
![]() | |
static void | setTFInterpreter (FunctionManager *interpreter) |
Set global TF Interpreter. All Transceiver Functions will register themselves with it upon creation. More... | |
static const FunctionManager * | getFunctionManager () |
![]() | |
template<class TRANSCEIVER_DATAPACK > | |
PtrTemplates< TRANSCEIVER_DATAPACK >::shared_ptr | moveToSharedPtr () |
virtual TransceiverDataPackInterface::shared_ptr * | getTFInterpreterRegistry () |
Gets address of ptr under which the _functionManager has registered this TF. Mainly used during setup. More... | |
![]() | |
static FunctionManager * | _functionManager = nullptr |
Pointer to TF Interpreter. Will be used to register a new TF function. More... | |
Class for input multiple datapacks for a single transceiver function, mapped to EngineDataPacks python decorator.
EngineDataPacks::EngineDataPacks | ( | const std::string & | keyword, |
const boost::python::list & | datapackListNames, | ||
const std::string & | engineName, | ||
bool | isPreprocessed | ||
) |
|
overridevirtualdefault |
|
overridevirtual |
Returns datapack IDs of this DataPack that should be requested from the engines. TODO: Make protected.
Reimplemented from TransceiverDataPackInterface.
|
overridevirtual |
Execute Transceiver Function. Base class will simply call runTf on _function.
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 |
Reimplemented from TransceiverDataPackInterface.