415 {
416 py::class_<ModuleWrap<MODTYPE>, std::shared_ptr<ModuleWrap<MODTYPE>>,
417 py::bases<Module>, boost::noncopyable>(
418 modName.c_str(), py::init<FieldSharedPtr>())
419
420 .def("AddConfigOption", ModuleWrap_AddConfigOption<MODTYPE>,
421 (py::arg("key"), py::arg("defValue"), py::arg("desc"),
422 py::arg("isBool") = false))
423
424
426
427
430 .def("Create", py::raw_function(Module_Create<MODTYPE>))
431 .staticmethod("Create");
432
434 }
void Module_Process(ModuleSharedPtr m)
Module wrapper to handle virtual function calls in Module and its subclasses as defined by the templa...