ObjectTable:
Filter:
Classes | Collections > Unordered

ObjectTable : TwoWayIdentityDictionary : Collection : Object

associate objects with IDs

Description

An ObjectTable is used to associate an id with an object. This is useful for enabling references to objects on remote systems via Open Sound Control.

Class Methods

ObjectTable.add(obj)

Put an object in the main ObjectTable and generate an Integer id.

Arguments:

obj

the object to put in the table.

ObjectTable.put(key, obj)

Put an object in the main ObjectTable under a specific key.

Arguments:

key

a Symbol.

obj

the object to put in the table.

ObjectTable.at(id)

Get an object in the main ObjectTable.

Arguments:

id

an Integer or Symbol.

ObjectTable.getID(obj)

Get the ID of an object in the table.

Arguments:

obj

an object in the table.

Inherited class methods

Undocumented class methods

ObjectTable.global

ObjectTable.new

ObjectTable.objPerform(id, selector ... args)

ObjectTable.remove(obj)

Instance Methods

.add(obj)

Put an object in an ObjectTable and generate an Integer id.

Arguments:

obj

the object to put in the table.

Inherited instance methods