IviServiceNonNullPropertyDelegate
class IviServiceNonNullPropertyDelegate<T : Any>(observer: ChangeHandler<T>) : IviServiceNonNullPropertyDelegateBase<T>
Content copied to clipboard
Property delegate for non-null IVI service properties, except MirrorableMap.
The purpose of this property delegate is twofold:
Notify an observer of property changes
Keep the generated
Base classes free of initial values.
The latter is achieved by using a lateinit prop below and allow the IviServiceBase class to check through isInitialized if all properties are neatly initialized by the IVI service before marking the service initialized.
For nullable properties, see IviServiceNullablePropertyDelegate For MirrorableMap properties, see IviServiceNonNullMirrorableMapPropertyDelegate and IviServiceNullableMirrorableMapPropertyDelegate