386 {
387 py::class_<ModuleWrap<MODTYPE>, std::shared_ptr<ModuleWrap<MODTYPE>>,
388 py::bases<Module>, boost::noncopyable>(
389 modName.c_str(), py::init<FieldSharedPtr>())
390
391 .def("AddConfigOption", ModuleWrap_AddConfigOption<MODTYPE>,
392 (py::arg("key"), py::arg("defValue"), py::arg("desc"),
393 py::arg("isBool") = false))
394
395
397
398
401 .def("Create", py::raw_function(Module_Create<MODTYPE>))
402 .staticmethod("Create");
403
405 }
void Module_Process(ModuleSharedPtr m)
Module wrapper to handle virtual function calls in Module and its subclasses as defined by the templa...