JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
jevois::python::PyParHelperBase Class Referenceabstract

#include <jevois/Core/PythonParameter.H>

Base helper class to allow creation of Parameter in python.

Definition at line 28 of file PythonParameter.H.

Inheritance diagram for jevois::python::PyParHelperBase:

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::ParameterBasepar () const =0
 Access the associated C++ base Parameter.
 

Protected Member Functions

jevois::Componentcomp () const
 Access the associated C++ Component.
 

Constructor & Destructor Documentation

◆ PyParHelperBase()

jevois::python::PyParHelperBase::PyParHelperBase ( jevois::Component comp)

Constructor.

Definition at line 23 of file PythonParameter.C.

◆ ~PyParHelperBase()

jevois::python::PyParHelperBase::~PyParHelperBase ( )
virtual

Remove param from component.

Definition at line 27 of file PythonParameter.C.

Member Function Documentation

◆ comp()

jevois::Component * jevois::python::PyParHelperBase::comp ( ) const
protected

Access the associated C++ Component.

Definition at line 31 of file PythonParameter.C.

◆ get()

virtual boost::python::object jevois::python::PyParHelperBase::get ( )
pure virtual

Get the value, typed, then wrapped into python object.

Implemented in jevois::python::PyParHelper< T >.

◆ par()

virtual std::shared_ptr< jevois::ParameterBase > jevois::python::PyParHelperBase::par ( ) const
pure virtual

Access the associated C++ base Parameter.

Implemented in jevois::python::PyParHelper< T >.

◆ set()

virtual void jevois::python::PyParHelperBase::set ( boost::python::object const &  val)
pure virtual

Set the value from python object that should contain a value of the correct type.

Implemented in jevois::python::PyParHelper< T >.

◆ setCallback()

virtual void jevois::python::PyParHelperBase::setCallback ( boost::python::object const &  cb)
pure virtual

Set the parameter's callback.

Implemented in jevois::python::PyParHelper< T >.


The documentation for this class was generated from the following files: