Property template
Property template. A wrapper for a value (the property type) that allows a "validation method" and "listener methods" to be associated with it.A validator method is called whenever an attempt is made to set the property's value. If this returns 0 the value is changed. If not, the value is unchanged. In either case the value returned by the validator method is returned to the client code.
Whenever a property value changes, all current listener methods are invoked with the updated value.
the method prototype must:
It is the responsibility of the client code to ensure
that the listener object continues to exist until either
the property is destroyed, or the listener is removed by
calling "delListener()".
the method prototype must:
1 Construction
M6Property(MyValueType initValue)
template
validator - validator object
method - the validation method
2 Accessors
3 Mutators
int setValue(MyValueType newValue)
template
method - function to call for notification
template
method - function called for notification MyValueType value
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de