class SG_EXPORT osg::MemoryAdapter: public Referenced

Class for adapting the memory management of external data.

Inheritance:


Public Methods

[more] MemoryAdapter()
[more]virtual void incrementReference(void* )
Increment the reference count of the userData
[more]virtual void decrementReference(void* )
Decrement the reference count of the userData.
[more]virtual void* clone(void* )
not current used, but will be used in future
[more]virtual bool write(Output& , void* )
not current used, but will be used in future
[more]virtual bool read(Input& , void* )
not current used, but will be used in future

Protected Methods

[more]virtual ~MemoryAdapter()


Inherited from Referenced:

Public Methods

oReferenced& operator = (Referenced&)
ovoid ref()
ovoid unref()
oint referenceCount()

Protected Fields

oint _refCount


Documentation

Class for adapting the memory management of external data. Typically used to specify the memory management of user data which can be attached to osg::Node.
o MemoryAdapter()

ovirtual void incrementReference(void* )
Increment the reference count of the userData

ovirtual void decrementReference(void* )
Decrement the reference count of the userData. Is usually implemented such that if reference count is decremented to zero the userData should be deleted. However, this is entirely up to the discression of the user who is extending this base class.

ovirtual void* clone(void* )
not current used, but will be used in future

ovirtual bool write(Output& , void* )
not current used, but will be used in future

ovirtual bool read(Input& , void* )
not current used, but will be used in future

ovirtual ~MemoryAdapter()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.