CrystalSpace

Public API Reference

csutil/pooledscfclass.h File Reference

Macros to create SCF classes that support pooling. More...

#include "csutil/scf.h"
#include <new>

Go to the source code of this file.

Defines

#define SCF_CONSTRUCT_IBASE_POOLED(Pool)
 Has to be invoked inside the class constructor instead of SCF_CONSTRUCT_IBASE.
#define SCF_DECLARE_IBASE_POOLED(parentClass)   SCF_DECLARE_IBASE_POOLED_DECL(class, parentClass)
 Embed this macro instead of SCF_DECLARE_IBASE into an SCF class that is to be pooled.
#define SCF_DECLARE_IBASE_POOLED_DECL(Class, parentClass)
#define SCF_DECLARE_IBASE_POOLED_EXTERN(Extern, parentClass)   SCF_DECLARE_IBASE_POOLED_DECL(class Extern, parentClass)
 Same as SCF_DECLARE_IBASE_POOLED, use for external classes.
#define SCF_IMPLEMENT_IBASE_DECREF_POOLED(Class)
 Implement DecRef() for a pooled class.
#define SCF_IMPLEMENT_IBASE_INCREF_POOLED(Class)
 Implement IncRef() for a pooled class.
#define SCF_IMPLEMENT_IBASE_POOL(Class)
 Implement pool manager for Class.
#define SCF_IMPLEMENT_IBASE_POOL_ALLOC(Class)
 Implement Alloc() for the pool manager of Class.
#define SCF_IMPLEMENT_IBASE_POOL_CTOR(Class)
 Implement the constructor for the pool manager of Class.
#define SCF_IMPLEMENT_IBASE_POOL_DTOR(Class)
 Implement the destructor for the pool manager of Class.
#define SCF_IMPLEMENT_IBASE_POOL_HELPERS(parentClass)
#define SCF_IMPLEMENT_IBASE_POOL_RECYCLE(Class)
 Implement Recycle() for the pool manager of Class.
#define SCF_IMPLEMENT_IBASE_POOLED(Class)
 Use this in the source module instead of SCF_IMPLEMENT_IBASE.


Detailed Description

Macros to create SCF classes that support pooling.

Definition in file pooledscfclass.h.


Generated for Crystal Space by doxygen 1.4.6