ImFusion Web SDK

ClassHandle

Base interface for JS handles that refer to underlying C++ objects.

See

Object Ownership and Aliasing

Extended by

Methods

MethodDescription
isAliasOf()Returns true if this handle and other alias the same underlying C++ object.
delete()Releases this JavaScript handle.
deleteLater()Schedules this handle for deferred deletion and returns this handle.
isDeleted()Returns true if this handle has already been deleted.
[dispose]()Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.
clone()Returns a new JavaScript handle aliasing the same underlying C++ object.

isAliasOf()

ts

Returns true if this handle and other alias the same underlying C++ object.

Parameters

ParameterType
otherClassHandle

Returns

boolean


delete()

ts

Releases this JavaScript handle.

Returns

void


deleteLater()

ts

Schedules this handle for deferred deletion and returns this handle.

Returns

this


isDeleted()

ts

Returns true if this handle has already been deleted.

Returns

boolean


[dispose]()

ts

Releases this handle when the enclosing scope exits, so a handle can be declared with using instead of calling delete() later manually.

Returns

void


clone()

ts

Returns a new JavaScript handle aliasing the same underlying C++ object.

Returns

this

On this page