class osg::Referenced

Base class from providing referencing counted objects

Inheritance:


Public Methods

[more] Referenced()
[more] Referenced(Referenced&)
[more]Referenced& operator = (Referenced&)
[more]void ref()
increment the reference count by one, indicating that this object has another pointer which is referencing it
[more]void unref()
decrement the reference count by one, indicating that a pointer to this object is referencing it.
[more]int referenceCount()
return the number pointers currently referencing this object.

Protected Fields

[more]int _refCount

Protected Methods

[more]virtual ~Referenced()


Documentation

Base class from providing referencing counted objects
o Referenced()

o Referenced(Referenced&)

oReferenced& operator = (Referenced&)

ovoid ref()
increment the reference count by one, indicating that this object has another pointer which is referencing it

ovoid unref()
decrement the reference count by one, indicating that a pointer to this object is referencing it. If the refence count goes to zero, it is assumed that this object is nolonger referenced and is automatically deleted.

oint referenceCount()
return the number pointers currently referencing this object.

ovirtual ~Referenced()

oint _refCount


Direct child classes:
Seg
ReaderWriter
Object
NodeVisitor
MemoryAdapter
DynamicLibrary
Camera

Alphabetic index HTML hierarchy of classes or Java



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