nn::nex::RefCountedObject Class

Syntax

class RefCountedObject : public nn::nex::RootObject

Description

Base class for reference count objects.

Base class for reference count objects. The AcquireRef function increments the reference count by 1 and the ReleaseRef function decrements the reference count by 1. If the count of an instance of this class reaches 0, it calls its own destructor.

Member Functions

AcquireRef Increments the reference count by 1.
ReleaseRef Decrements the reference count by 1. Deletes itself when the count reaches 0.

Class Hierarchy

nn::nex::RootObject
  nn::nex::RefCountedObject

Revision History

2011/01/27
Initial version.

CONFIDENTIAL