PDF
AuboStudio SDK  0.6.3
class_forward.h File Reference
#include <memory>
Include dependency graph for class_forward.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARCS_ABI_EXPORT
#define ARCS_ABI_IMPORT
#define ARCS_ABI_LOCAL
#define ARCS_DECLARE_PTR(Name, Type)
#define ARCS_DECLARE_PTR_MEMBER(Type)
#define ARCS_CLASS_FORWARD(C)
 Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR.
#define ARCS_STRUCT_FORWARD(C)
 Like ARCS_CLASS_FORWARD, but forward declares the type as a struct instead of a class.

Macro Definition Documentation

◆ ARCS_ABI_EXPORT

#define ARCS_ABI_EXPORT

Definition at line 16 of file class_forward.h.

◆ ARCS_ABI_IMPORT

#define ARCS_ABI_IMPORT

Definition at line 17 of file class_forward.h.

◆ ARCS_ABI_LOCAL

#define ARCS_ABI_LOCAL

Definition at line 18 of file class_forward.h.

◆ ARCS_CLASS_FORWARD

#define ARCS_CLASS_FORWARD ( C)
Value:
class C; \
ARCS_DECLARE_PTR(C, C)

Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR.

Definition at line 68 of file class_forward.h.

◆ ARCS_DECLARE_PTR

#define ARCS_DECLARE_PTR ( Name,
Type )
Value:
typedef std::shared_ptr<Type> Name##Ptr; \
typedef std::shared_ptr<const Type> Name##ConstPtr; \
typedef std::weak_ptr<Type> Name##WeakPtr; \
typedef std::weak_ptr<const Type> Name##ConstWeakPtr; \
typedef std::unique_ptr<Type> Name##UniquePtr; \
typedef std::unique_ptr<const Type> Name##ConstUniquePtr

Definition at line 36 of file class_forward.h.

◆ ARCS_DECLARE_PTR_MEMBER

#define ARCS_DECLARE_PTR_MEMBER ( Type)
Value:
typedef std::shared_ptr<Type> Ptr; \
typedef std::shared_ptr<const Type> ConstPtr; \
typedef std::weak_ptr<Type> WeakPtr; \
typedef std::weak_ptr<const Type> ConstWeakPtr; \
typedef std::unique_ptr<Type> UniquePtr; \
typedef std::unique_ptr<const Type> ConstUniquePtr

Definition at line 54 of file class_forward.h.

◆ ARCS_STRUCT_FORWARD

#define ARCS_STRUCT_FORWARD ( C)
Value:
struct C; \
ARCS_DECLARE_PTR(C, C)

Like ARCS_CLASS_FORWARD, but forward declares the type as a struct instead of a class.

Definition at line 77 of file class_forward.h.