nn::nex::GlobalVariables Class

Syntax

class GlobalVariables : public nn::nex::RefCountedObject

Description

Manages global variables used in the NEX library.

Manages global variables used in the NEX library. Before using the features of the NEX library, first call the MemoryManager::SetBasicMemoryFunctions function to set the functions for allocating and releasing memory. Then call the AcquireInstance function to initialize global variables.

When ending the NEX library, run ReleaseInstance function to release the global variables.

Member Functions

S AcquireInstance Initializes global variables used internally by the NEX library.
S ReleaseInstance Releases global variables used internally by the NEX library.
S GetCount Gets the number of calls that should be made to the ReleaseInstance function when the library is released.
AcquireRef Increments the reference count by 1. (Inherits RefCountedObject.)
ReleaseRef Decrements the reference count by 1. Deletes itself when the count reaches 0. (Inherits RefCountedObject.)

Class Hierarchy

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

Revision History

2011/06/01
Added the nn::nex::GlobalVariables::GetCount function
2011/01/27
Initial version.

CONFIDENTIAL