MeVis/Foundation/Sources/MLUtilities/mlRefCountedBase.h File Reference

RefCountedBase class that adds reference counting to Base. More...

#include "mlBase.h"
#include <boost/intrusive_ptr.hpp>

Go to the source code of this file.


Classes

class  ml::RefCountedBase
 RefCountedBase class adds intrusive reference counting support to the Base class. More...

Namespaces

namespace  ml
 Define the namespace name like in the ML. Default is ml.

Defines

#define ML_REFCOUNTED_PTR(CLASSNAME)
 Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.

Functions

void ml::intrusive_ptr_add_ref (const ml::RefCountedBase *p)
void ml::intrusive_ptr_release (const ml::RefCountedBase *p)


Detailed Description

RefCountedBase class that adds reference counting to Base.

Author:
Florian Link
Date:
04/2011

Definition in file mlRefCountedBase.h.


Define Documentation

#define ML_REFCOUNTED_PTR ( CLASSNAME   ) 

Value:

class CLASSNAME; \
  typedef ::boost::intrusive_ptr<CLASSNAME> CLASSNAME##Ptr; \
  typedef ::boost::intrusive_ptr<const CLASSNAME> CLASSNAME##ConstPtr;
Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.

Definition at line 69 of file mlRefCountedBase.h.


Generated on Sat Sep 3 18:37:43 2011 for MLReference by  doxygen 1.5.8