Main Page Class List Class Members

# Nv::Blast::TkObject Class Reference

`#include <NvBlastTkObject.h>`

Inheritance diagram for Nv::Blast::TkObject:

List of all members.

## Public Member Functions
virtual void | release ()=0
| TkObject ()
## Public Attributes
void * | userData
## Protected Member Functions
virtual | ~TkObject ()

## Detailed Description

Base class for all objects in Tk. All TkObjects are releasable.

## Constructor & Destructor Documentation

Nv::Blast::TkObject::TkObject | ( |  | ) | `[inline]`

Constructor clears userData.

virtual Nv::Blast::TkObject::~TkObject | ( |  | ) | `[inline, protected, virtual]`

Destructor is virtual and not public - use the release() method instead of explicitly deleting a TkObject

## Member Function Documentation

virtual void Nv::Blast::TkObject::release | ( |  | ) | `[pure virtual]`

Release this object and free associated memory.

## Member Data Documentation

void* Nv::Blast::TkObject::userData

Pointer field available to the user.

The documentation for this class was generated from the following file:

- sdk/toolkit/include/NvBlastTkObject.h