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 토요일, 17 8월 2024 20:47:14 UTC - 99bfb4fd7929e233b87b05758efc36f91505592e
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