nn::nex::DORef Class

Syntax

class DORef : public nn::nex::RootObject

Description

Creates safe references (accessors) to duplicated objects.

RefTemplate is used for the fine details of implementation of references to duplicated objects. Because RefTemplate comprises a shallow template class, the shared portion is implemented by this DORef class.

Member Functions

DORef Initializes the reference as an invalid reference.
GetHandle Gets a handle to the duplicated object specified by this reference.
IsSoft Determines whether DORef is a soft reference to the duplicated object.
IsHard Determines whether DORef is a hard reference to the duplicated object.
SetSoft Sets DORef to a soft reference.
SetHard Sets DORef to a hard reference.
GetDOPtr Gets a pointer to the duplicated object indicated by this reference.
IsValid Gets whether the DORef instance is valid.
Poll Polls to see whether the DORef reference is valid.
Wait Waits until either the DORef becomes valid or the timeout elapses.

Class Hierarchy

nn::nex::RootObject
  nn::nex::DORef

Revision History

2011/01/28
Initial version.

CONFIDENTIAL