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