JeVois
1.21
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Component/ParameterRegistry.H>
A simple registry of all parameters associated with a Component.
This registry allows one to loop over or search for given parameters in a Component.
Definition at line 33 of file ParameterRegistry.H.
Public Member Functions | |
virtual | ~ParameterRegistry () |
Virtual destructor for safe inheritance. | |
Protected Member Functions | |
void | addParameter (ParameterBase *const param) |
The Parameter class uses this method to register itself on construction with its owning Component. | |
void | removeParameter (ParameterBase *const param) |
The Parameter class uses this method to un-register itself on destruction with its owning Component. | |
void | callbackInitCall () |
For all parameters that have a callback which has never been called, call it with the default param value. | |
Friends | |
class | Component |
Allow Component and DynamicParameter to access our registry data, everyone else is locked out. | |
template<typename T > | |
class | DynamicParameter |
|
virtual |
Virtual destructor for safe inheritance.
Definition at line 25 of file ParameterRegistry.C.
|
protected |
The Parameter class uses this method to register itself on construction with its owning Component.
Definition at line 29 of file ParameterRegistry.C.
References JEVOIS_TRACE, LDEBUG, LFATAL, and jevois::ParameterBase::name().
|
protected |
For all parameters that have a callback which has never been called, call it with the default param value.
Definition at line 63 of file ParameterRegistry.C.
References JEVOIS_TRACE.
|
protected |
The Parameter class uses this method to un-register itself on destruction with its owning Component.
Definition at line 44 of file ParameterRegistry.C.
References JEVOIS_TRACE, LDEBUG, LERROR, and jevois::ParameterBase::name().
|
friend |
Allow Component and DynamicParameter to access our registry data, everyone else is locked out.
Definition at line 51 of file ParameterRegistry.H.
|
friend |
Definition at line 52 of file ParameterRegistry.H.