Next: ARC Object Handler for
Up: Interfaces and Generated Classes
Previous: Trigger upon Migration
Class Real is to be implemented by the applications programmer.
This class shown in Figure 4
implements interfaces IMyObject and ITrigger. Observe that
figures 3 and 4 shows
interface IMyObject as a subclass of interface IRefCount. Reference counting has been
a common feature used in component programming with COM/DCOM models [6]
to keep track of usage. This feature is useful for garbage collection, especially to
take care of references that an object may accumulate while hopping from machine to
machine. A library implementation of reference counting may be used in class Real
through inheritance.
R K Joshi
2003-05-08