class methods
Extends
This class extends others, you can call their methods on an instance of ofReadOnlyParameter too:
Documentation from code comments
ofReadOnlyParameter holds a value and notifies its listeners when it changes.
ofReadOnlyParameter is a "read only" version of ofPareameter
. "Friend"
classes specified in the template arguments allow other classes
write-access to the internal data. Otherwise, all other access is
"read only".
See also: ofParameter \tparam ParameterType The data wrapped by the ofParameter. \tparam Friend The type of the "friend" class with write access.
ofReadOnlyParameter(...)
ofReadOnlyParameter::ofReadOnlyParameter(const string &name, const ParameterType &v)
ofReadOnlyParameter(...)
ofReadOnlyParameter::ofReadOnlyParameter(const string &name, const ParameterType &v, const ParameterType &min, const ParameterType &max)
addListener(...)
void ofReadOnlyParameter::addListener(ListenerClass *listener, ListenerMethod method, int prio)
removeListener(...)
void ofReadOnlyParameter::removeListener(ListenerClass *listener, ListenerMethod method, int prio)
Last updated 星期二, 19 十一月 2024 17:25:03 UTC - 2537ee49f6d46d5fe98e408849448314fd1f180e
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue