JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Core/PythonParameter.H>
Base helper class to allow creation of Parameter in python.
Definition at line 28 of file PythonParameter.H.
Public Member Functions | |
PyParHelperBase (jevois::Component *comp) | |
Constructor. | |
virtual | ~PyParHelperBase () |
Remove param from component. | |
virtual boost::python::object | get ()=0 |
Get the value, typed, then wrapped into python object. | |
virtual void | set (boost::python::object const &val)=0 |
Set the value from python object that should contain a value of the correct type. | |
virtual void | setCallback (boost::python::object const &cb)=0 |
Set the parameter's callback. | |
virtual std::shared_ptr< jevois::ParameterBase > | par () const =0 |
Access the associated C++ base Parameter. | |
Protected Member Functions | |
jevois::Component * | comp () const |
Access the associated C++ Component. | |
jevois::python::PyParHelperBase::PyParHelperBase | ( | jevois::Component * | comp | ) |
Constructor.
Definition at line 23 of file PythonParameter.C.
|
virtual |
Remove param from component.
Definition at line 27 of file PythonParameter.C.
|
protected |
Access the associated C++ Component.
Definition at line 31 of file PythonParameter.C.
|
pure virtual |
Get the value, typed, then wrapped into python object.
Implemented in jevois::python::PyParHelper< T >.
|
pure virtual |
Access the associated C++ base Parameter.
Implemented in jevois::python::PyParHelper< T >.
|
pure virtual |
Set the value from python object that should contain a value of the correct type.
Implemented in jevois::python::PyParHelper< T >.
|
pure virtual |
Set the parameter's callback.
Implemented in jevois::python::PyParHelper< T >.