object
Class LookupReference

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<PublicObject>
          extended by object.LookupReference

public class LookupReference
extends java.lang.ref.WeakReference<PublicObject>

A class which allows us to keep HLA information about objects which have been garbage collected by the local JVM. A weak reference holds information on an object but does not prevent that object from being finalized by the JVM garbage collector. A LookupReference adds RTI handle information to this. This is used by HLA_RePast to issue deleteObjectInstance events when an object dissapears from the local model.

Author:
Rob Minson

Constructor Summary
LookupReference(PublicObject ob)
           
 
Method Summary
 int getID()
           
 boolean isGCd()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupReference

public LookupReference(PublicObject ob)
Method Detail

isGCd

public boolean isGCd()

getID

public int getID()

main

public static void main(java.lang.String[] args)