nn::os::HandleObject

nn::os::HandleObject Class

Header file: nn/os.h

Syntax

class HandleObject : private nn::util::NonCopyable< HandleObject >

Description

Abstract base class that represents an object managed by the OS.

Objects are actually created either in the constructor of a derived class or in a class-specific initialization function. To destroy an object, call the derived class-specific destruction function. If the destruction function was not called explicitly, the object will be destroyed automatically by the destructor in most classes.

This class cannot be instantiated directly.

Member Functions

GetHandle Gets a handle.
IsValid Returns whether an object is valid.
protected HandleObject Constructor.
protected ~HandleObject Destructor.
protected SetHandle Sets a handle.
protected Close Closes a handle.

Class Hierarchy

nn::util::NonCopyable
  nn::os::HandleObject

Revision History

2010/01/07
Initial version.

CONFIDENTIAL