#include "mlEventSource.h"
#include <ThirdPartyWarningsDisable.h>
#include <boost/intrusive_ptr.hpp>
#include <ThirdPartyWarningsRestore.h>
#include <atomic>
 
Go to the source code of this file.
 | 
| namespace   | ml | 
|   | Main documentation file for ML users and developers. 
  | 
|   | 
 | 
| #define  | ML_REFCOUNTED_PTR(CLASSNAME) | 
|   | Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.  
  | 
|   | 
◆ 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 80 of file mlRefCountedBase.h.