Panda3D
Classes | Macros
deletedChain.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "dtoolbase.h"
#include "deletedBufferChain.h"
#include <assert.h>
#include "deletedChain.T"

Go to the source code of this file.

Classes

class  DeletedChain< Type >
 This template class can be used to provide faster allocation/deallocation for many Panda objects. More...
 
class  StaticDeletedChain< Type >
 This template class is used to conveniently declare a single instance of the DeletedChain template object, above, for a particular type. More...
 

Macros

#define ALLOC_DELETED_CHAIN(Type)
 
#define ALLOC_DELETED_CHAIN_DECL(Type)
 
#define ALLOC_DELETED_CHAIN_DEF(Type)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2006-04-01

Definition in file deletedChain.h.

Macro Definition Documentation

◆ ALLOC_DELETED_CHAIN

#define ALLOC_DELETED_CHAIN (   Type)
Value:
inline static bool validate_ptr(const void *ptr) { \
return (ptr != nullptr); \
}

Definition at line 123 of file deletedChain.h.

◆ ALLOC_DELETED_CHAIN_DECL

#define ALLOC_DELETED_CHAIN_DECL (   Type)
Value:
inline static bool validate_ptr(const void *ptr) { \
return (ptr != nullptr); \
}

Definition at line 127 of file deletedChain.h.