Referenced Class Reference
[Kernel Module]

#include <referenced.h>

Inheritance diagram for Referenced:

Root Animator Env OnScreenText Preloaded Prototype RemoteClient Resource RootServer< Node > RootServer< AudioServer > RootServer< FileServer > RootServer< Game > RootServer< GfxServer > RootServer< InputServer > RootServer< MessageServer > RootServer< PathServer > RootServer< RemoteServer > RootServer< ResourceServer > RootServer< SceneServer > RootServer< ScriptServer > RootServer< SerializeServer > RootServer< TimeServer > Scene SceneNode SceneObject ScriptLoader SelectionRenderer Serializer Unit

List of all members.


Detailed Description

Provides simple reference counting as well as tracking references to self. Never destroy Referenced objects through delete.

Public Member Functions

 Referenced ()
virtual ~Referenced ()
void AddObjectRef (Ref< Referenced > *)
void RemObjectRef (Ref< Referenced > *)
SListGetRefs ()

Protected Member Functions

void InvalidateAllRefs ()

Protected Attributes

SList refList

Constructor & Destructor Documentation

Referenced::Referenced (  ) 

Constructor.

Referenced::~Referenced (  )  [virtual]

Destructor.


Member Function Documentation

void Referenced::AddObjectRef ( Ref< Referenced > *  r  )  [inline]

Hangs the reference to an object on refList.

void Referenced::RemObjectRef ( Ref< Referenced > *  r  )  [inline]

Removes the reference to r from the refList.

SList * Referenced::GetRefs (  )  [inline]

void Referenced::InvalidateAllRefs (  )  [protected]

Invalidates all references.


Member Data Documentation

SList Referenced::refList [protected]


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:34 2007 for Dark Oberon by  doxygen 1.5.3