10Reference::Reference() : referenceCounter(0) {
Reference counter implementation to be used with inheritance.
virtual ~Reference()
destructor
void releaseReference()
releases a reference, thus decrementing the counter and delete it if reference counter is zero
unsigned int referenceCounter
virtual void onDelete()
Callback method to be overridden, will be called if object will be deleted.
void acquireReference()
acquires a reference, incrementing the counter