OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osg::buffered_value Class Reference

Implements a simple buffered value for values that need to be buffered on a per graphics context basis. More...

Inheritance diagram for osg::buffered_value:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 buffered_value ()
 buffered_value (unsigned int size)
buffered_valueoperator= (const buffered_value &rhs)
void setAllElementsTo (const T &t)
void clear ()
bool empty () const
unsigned int size () const
void resize (unsigned int newSize)
T & operator[] (unsigned int pos)
operator[] (unsigned int pos) const

Protected Attributes

std::vector< T > _array

Detailed Description

Implements a simple buffered value for values that need to be buffered on a per graphics context basis.


Constructor & Destructor Documentation

osg::buffered_value::buffered_value ( ) [inline]
osg::buffered_value::buffered_value ( unsigned int  size) [inline]

Member Function Documentation

void osg::buffered_value::clear ( ) [inline]
bool osg::buffered_value::empty ( ) const [inline]
buffered_value& osg::buffered_value::operator= ( const buffered_value rhs) [inline]
T& osg::buffered_value::operator[] ( unsigned int  pos) [inline]
T osg::buffered_value::operator[] ( unsigned int  pos) const [inline]
void osg::buffered_value::resize ( unsigned int  newSize) [inline]
void osg::buffered_value::setAllElementsTo ( const T &  t) [inline]
unsigned int osg::buffered_value::size ( ) const [inline]

Member Data Documentation

std::vector<T> osg::buffered_value::_array [mutable, protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Mon Oct 3 2011 12:39:41 for the OpenSceneGraph by doxygen 1.7.5.