Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::PtrStyle Class Reference

#include <at_lifetime.h>

Inheritance diagram for at::PtrStyle:

Inheritance graph
List of all members.

Public Types

enum  { InitCount = 0, DeleteCheck = 1 }

Static Public Methods

template<typename w_type> void ZeroReferenceAction (w_type i_obj)

Detailed Description

PtrStyle defines a style of reference counted object that is more natural than COM.

Member Enumeration Documentation

anonymous enum

Enumeration values:
InitCount  InitCount is the initial count setting.
DeleteCheck  DeleteCheck may be 0 or 1 which indicates wether incrementing a reference count on a deleted object is tested.

Member Function Documentation

template<typename w_type>
void at::PtrStyle::ZeroReferenceAction w_type    i_obj [inline, static]

ZeroReferenceAction overrides what must happen when the the reference count drops to zero. This allows the PtrTarget_Generic template to use other mechanisms.

i_obj  is the this pointer of the
w_type  is the type of the pointer being managed

Reimplemented in at::PtrStyle_TEST.

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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004