AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
Referenced.h File Reference
#include <agx/config/AGX_DEBUG_REFERENCED.h>
#include <agx/config/AGX_DEBUG_TRACK_REFERENCED_OBJECTS.h>
#include <agx/ref_ptr.h>
#include <agx/observer_ptr.h>
#include <agx/agxCore_export.h>
#include <agx/AtomicValue.h>
#include <agx/ScopeLock.h>
#include <mutex>
#include <agx/PushDisableWarnings.h>
#include <agx/PopDisableWarnings.h>

Go to the source code of this file.

Classes

class  agx::Referenced
 Base class providing referencing counted objects. More...
 

Namespaces

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Macros

#define AGX_DECLARE_POINTER_TYPES(type)
 
#define AGX_EXPIRED_SCOPE_ALLOCATION   (-0xABC)
 
#define OBSERVER_CONTAINER_TYPE   1
 

Typedefs

using agx::Mutex = std::mutex
 

Macro Definition Documentation

◆ AGX_DECLARE_POINTER_TYPES

#define AGX_DECLARE_POINTER_TYPES (   type)
Value:
class type; \
typedef agx::ref_ptr< type > type ## Ref; \
typedef agx::observer_ptr< type > type ## Observer; \
typedef agx::ref_ptr< const type > type ## ConstRef;\
typedef agx::observer_ptr< const type > type ## ConstObserver
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Smart pointer for handling referenced counted objects.
Definition ref_ptr.h:30

Definition at line 254 of file Referenced.h.

◆ AGX_EXPIRED_SCOPE_ALLOCATION

#define AGX_EXPIRED_SCOPE_ALLOCATION   (-0xABC)

Definition at line 101 of file Referenced.h.

◆ OBSERVER_CONTAINER_TYPE

#define OBSERVER_CONTAINER_TYPE   1

Definition at line 48 of file Referenced.h.