9 #include <boost/python/class.hpp>
11 #include <framework/core/ModuleParamInfoPython.h>
15 using namespace boost::python;
17 void ModuleParamInfoPython::exposePythonAPI()
20 boost::python::class_<ModuleParamInfoPython>(
"ModuleParamInfo",
21 "Read only class to provide information about a module parameter")
22 .def_readonly(
"name", &ModuleParamInfoPython::m_name,
23 "Name of the Parameter")
24 .def_readonly(
"type", &ModuleParamInfoPython::m_typeName,
25 "Type of the Parameter as string")
26 .def_readonly(
"default", &ModuleParamInfoPython::m_defaultValues,
27 "Default value of the parameter")
28 .def_readonly(
"values", &ModuleParamInfoPython::m_values,
29 "Currently set value")
30 .def_readonly(
"description", &ModuleParamInfoPython::m_description,
31 "Description of the parameter")
32 .def_readonly(
"forceInSteering", &ModuleParamInfoPython::m_forceInSteering,
33 "If True this parameter has to be set for the module to work")
34 .def_readonly(
"setInSteering", &ModuleParamInfoPython::m_setInSteering,
35 "If True this parameter has been set to a specific value")
Abstract base class for different kinds of events.