CBaseObject Class Reference

Base Object with reference counter. More...

#include <vstgui.h>

Inheritance diagram for CBaseObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CBaseObject ()
virtual ~CBaseObject ()

Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
long getNbReference () const
 get refcount

Message Methods



virtual CMessageResult notify (CBaseObject *sender, const char *message)

Detailed Description

Base Object with reference counter.


Constructor & Destructor Documentation

CBaseObject (  )  [inline]
virtual ~CBaseObject (  )  [inline, virtual]

Member Function Documentation

virtual void forget (  )  [inline, virtual]

decrease refcount and delete object if refcount == 0

Reimplemented in CDrawContext.

long getNbReference (  )  const [inline]

get refcount

virtual CMessageResult notify ( CBaseObject sender,
const char *  message 
) [inline, virtual]
virtual void remember (  )  [inline, virtual]

increase refcount


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Sep 25 18:22:43 2012 for VSTGUI by  doxygen 1.6.1