MeVisLab Toolbox Reference
mlRefCountedBase.h File Reference
#include "mlEventSource.h"
#include <ThirdPartyWarningsDisable.h>
#include <boost/intrusive_ptr.hpp>
#include <ThirdPartyWarningsRestore.h>

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

 ml
 Main documentation file for ML users and developers.
 

Macros

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

Functions

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

Macro Definition Documentation

◆ ML_REFCOUNTED_PTR

#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 79 of file mlRefCountedBase.h.