Murl Engine Lua Addon API  Version 1.0 beta
Murl.SharedPointer.LogicAnimationSInt64

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.


Table members

Inherited


Murl.Logic.Animation.SInt64

Typedefs


Murl.SharedPointer.LogicAnimationSInt64.ValueType

The template parameter value type.

Returns
Murl.Logic.Animation.SInt64

Murl.SharedPointer.LogicAnimationSInt64.UnspecifiedBoolType

Returns
Murl.Logic.Animation.SInt64


Functions


Murl.SharedPointer.LogicAnimationSInt64.new()

The default constructor creating a null pointer.

Murl.SharedPointer.LogicAnimationSInt64 new()

Returns
Murl.SharedPointer.LogicAnimationSInt64


Methods


GetIAppTimeline()

Get the Murl.SharedPointer.Logic.IAppTimeline base class object.

Murl.SharedPointer.LogicIAppTimeline GetIAppTimeline()

Returns
Murl.SharedPointer.LogicIAppTimeline The base class object.

GetITimeline()

Get the Murl.SharedPointer.Logic.ITimeline base class object.

Murl.SharedPointer.LogicITimeline GetITimeline()

Returns
Murl.SharedPointer.LogicITimeline The base class object.

GetIStepable()

Get the Murl.SharedPointer.Logic.IStepable base class object.

Murl.SharedPointer.LogicIStepable GetIStepable()

Returns
Murl.SharedPointer.LogicIStepable The base class object.

_IsNull()

Check if the memory pointer is null.

Boolean _IsNull()

Returns
Boolean true if the memory pointer is null.

_GetCount()

Get the SharedPointer's usage counter.

Integer _GetCount()

Returns
Integer The number of SharePointer instances referencing to the same memory pointer.

_IsUnique()

Check if the SharedPointer is the only one instance which is referencing the memory pointer.

Boolean _IsUnique()

Returns
Boolean true if the SharedPointer's usage counter is 1.

_Reset()

Release the reference from the SharedPointer and set the memory pointer to null.

_Reset()


_Swap(sharedPointer)

Swap with another SharedPointer.

Murl.SharedPointer.LogicAnimationSInt64 _Swap(Murl.SharedPointer.LogicAnimationSInt64 sharedPointer)

Parameters
sharedPointerThe SharedPointer to swap with.
Returns
Murl.SharedPointer.LogicAnimationSInt64 sharedPointer The SharedPointer to swap with.