ML Reference
|
RefCountedBase class that adds reference counting to Base. More...
#include "mlEventSource.h"
#include "mlSystemWarningsDisable.h"
#include <boost/intrusive_ptr.hpp>
#include "mlSystemWarningsRestore.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 | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
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) |
RefCountedBase class that adds reference counting to Base.
Definition in file mlRefCountedBase.h.
#define ML_REFCOUNTED_PTR | ( | CLASSNAME | ) |
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 71 of file mlRefCountedBase.h.