Leviathan  0.8.0.0
Leviathan game engine
ReferenceCounted.h File Reference
#include "Define.h"
#include <atomic>
#include <cstdint>
#include <boost/intrusive_ptr.hpp>

Go to the source code of this file.

Classes

class  Leviathan::ReferenceCounted
 

Namespaces

 Leviathan
 The access mask controls which registered functions and classes a script sees.
 

Macros

#define REFERENCE_COUNTED_PTR_TYPE(x)
 
#define REFERENCE_COUNTED_PTR_TYPE_NAMED(x, y)
 

Macro Definition Documentation

◆ REFERENCE_COUNTED_PTR_TYPE

#define REFERENCE_COUNTED_PTR_TYPE (   x)
Value:
using pointer = boost::intrusive_ptr<x>; \
using const_pointer = boost::intrusive_ptr<const x>; \
static constexpr auto ANGELSCRIPT_TYPE = \
#x "@";

Definition at line 17 of file ReferenceCounted.h.

◆ REFERENCE_COUNTED_PTR_TYPE_NAMED

#define REFERENCE_COUNTED_PTR_TYPE_NAMED (   x,
 
)
Value:
using pointer = boost::intrusive_ptr<x>; \
using const_pointer = boost::intrusive_ptr<const x>; \
static constexpr auto ANGELSCRIPT_TYPE = \
#y "@";

Definition at line 22 of file ReferenceCounted.h.