other versions
- wheezy 3.1.3-2.2
SbTypedStorage< Type >(3) | Coin | SbTypedStorage< Type >(3) |
NAME¶
SbTypedStorage< Type > - The SbTypedStorage class manages generic thread-local memory. This class manages thread-local memory. When different threads access the memory an SbTypedStorage object manages, they will receive different memory blocks back.SYNOPSIS¶
#include <Inventor/threads/SbTypedStorage.h>Public Member Functions¶
SbTypedStorage (unsigned int size)
Detailed Description¶
template<class Type>class SbTypedStorage< Type >¶
The SbTypedStorage class manages generic thread-local memory. This class manages thread-local memory. When different threads access the memory an SbTypedStorage object manages, they will receive different memory blocks back.Constructor & Destructor Documentation¶
template<class Type > SbTypedStorage< Type >::SbTypedStorage (unsigned intsize) [inline]¶
Constructor. size specifies the number of bytes each thread should have in this thread-local memory management object.template<class Type > SbTypedStorage< Type >::SbTypedStorage (unsigned intsize, void(*)(void *)constr, void(*)(void *)destr) [inline]¶
Constructor. size specifies the number of bytes each thread should have in this thread-local memory management object. Constructor and a destructor functions can be specified that will be called when the actual memory blocks are allocated and freed.template<class Type > SbTypedStorage< Type >::~ SbTypedStorage (void) [inline]¶
The destructor.Member Function Documentation¶
template<class Type > Type SbTypedStorage< Type >::get (void) [inline]¶
This method returns the calling thread's thread-local memory block.Author¶
Generated automatically by Doxygen for Coin from the source code.Wed May 23 2012 | Version 3.1.3 |