next up previous
Next: 3.3.2 Attribute actions Up: 3.3 Read and write Previous: 3.3 Read and write

3.3.1 Object actions

When considered as general targets of read and write actions, the only property of objects is their classes. An object at run time has an identity (i.e., a unique identifier). Its only attribute, classifier, gives the current class of the object. The classifier can be set at model time and also at run time. Read action ReadIsClassifiedObject accepts a classifier from one input pin and an object from the other, and returns the result whether the object belongs to the class specified by the classifier. Write action CreateObjectAction produces an object and puts it on an output pin; DestroyObjectAction takes an object from its input pin and destroys it. ReclassifyObjectAction changes the classifier to another one (i.e., reclasses the object).



Thomas Feng 2003-04-18