![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The SharedPointer class.
The SharedPointer holds a reference counted memory pointer, which is deleted when the last reference is removed. To avoid cross-references a WeakPointer can be used.
The template parameter value type.
The default constructor creating a null pointer.
Murl.SharedPointer.LogicSoundFader new()
Get the Murl.SharedPointer.Logic.IAppTimeline base class object.
Murl.SharedPointer.LogicIAppTimeline GetIAppTimeline()
Get the Murl.SharedPointer.Logic.ITimeline base class object.
Murl.SharedPointer.LogicITimeline GetITimeline()
Get the Murl.SharedPointer.Logic.IStepable base class object.
Murl.SharedPointer.LogicIStepable GetIStepable()
Check if the memory pointer is null.
Boolean _IsNull()
Get the SharedPointer's usage counter.
Integer _GetCount()
Check if the SharedPointer is the only one instance which is referencing the memory pointer.
Boolean _IsUnique()
Release the reference from the SharedPointer and set the memory pointer to null.
_Reset()
Swap with another SharedPointer.
Murl.SharedPointer.LogicSoundFader _Swap(Murl.SharedPointer.LogicSoundFader sharedPointer)
sharedPointer | The SharedPointer to swap with. |