Go to the documentation of this file.
22 #ifndef CREATE_DATAPACK_CLASS_H
23 #define CREATE_DATAPACK_CLASS_H
26 #include <boost/python.hpp>
47 static boost::python::object
pyCreateDataPack(boost::python::tuple
args, boost::python::dict kwargs);
81 const boost::python::dict &
devMap()
const;
87 boost::python::dict _nest;
92 boost::python::dict _devMap;
95 #endif // CREATE_DATAPACK_CLASS_H
static boost::python::object pyCreateDataPack(boost::python::tuple args, boost::python::dict kwargs)
Python function to create datapack and register it in _devMap.
Definition: create_datapack_class.cpp:30
Namespace args
Definition: python_json_engine.py:196
Singleton class. Used to create Nest datapacks in a manner that makes them accessible to the NRP.
Definition: create_datapack_class.h:31
str
Definition: python_grpc_engine.py:63
static boost::python::object pyRegisterDataPack(boost::python::tuple args, boost::python::dict kwargs)
pyRegisterDataPack
Definition: create_datapack_class.cpp:36
CreateDataPackClass(boost::python::dict nest, boost::python::dict devMap)
Constructor.
Definition: create_datapack_class.cpp:25
boost::python::object createAndRegisterDataPack(boost::python::tuple args, boost::python::dict kwargs)
Create new Nest datapack and add it to devMap.
Definition: create_datapack_class.cpp:44
void registerDataPack(boost::python::str devName, boost::python::object nodeCollection)
Register an existing datapack.
boost::python::dict pyDevMap()
Python Call Function to get NRP datapack mapping.
Definition: create_datapack_class.cpp:60
const boost::python::dict & devMap() const
Get datapack map.
Definition: create_datapack_class.cpp:65