Go to the source code of this file.
§ ABSTRACT_OBJECT
#define ABSTRACT_OBJECT |
( |
|
classname | ) |
|
Value:DISABLE_COPY(classname); \
protected: \
classname(void); \
virtual ~classname(void)
ABSTRACT_OBJECT(): should be used when deriving classes that will not be instantiated directly. (TYPE::create() is not declared.)
Definition at line 45 of file Object.h.
§ CONCRETE_OBJECT
#define CONCRETE_OBJECT |
( |
|
classname | ) |
|
Value: public: \
static classname *create(void)
#define ABSTRACT_OBJECT(classname)
Macros for defining boilerplate parts of derived Object classes.
Definition at line 55 of file Object.h.
§ IMPLEMENT_OBJECT_CREATE
#define IMPLEMENT_OBJECT_CREATE |
( |
|
classname | ) |
classname * classname::create(void) { return new classname; } |
§ RELEASE()
template<typename OBJECT >
static void RELEASE |
( |
OBJECT *& |
obj | ) |
|
|
inlinestatic |
§ RETAIN() [1/2]
template<typename OBJECT >
static OBJECT* RETAIN |
( |
OBJECT * |
obj | ) |
|
|
inlinestatic |
§ RETAIN() [2/2]
template<typename OBJECT >
static OBJECT* RETAIN |
( |
Scoped< OBJECT > & |
obj | ) |
|
|
inlinestatic |