Go to the documentation of this file.
   11 #ifndef TESSERA_RESOURCE_H 
   12 #define TESSERA_RESOURCE_H 
   23     void                ref()            { myCount.add(1); }
 
   24     void                unref()          { 
if (!myCount.add(-1)) 
delete this; }
 
   25     int                 refCount()
 const { 
return myCount.load(); }
 
   30 #endif // TESSERA_RESOURCE_H