.TH "SbTypedStorage< Type >" 3 "Wed May 23 2012" "Version 3.1.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SbTypedStorage< Type > \- .PP The \fBSbTypedStorage\fP class manages generic thread-local memory\&. .PP This class manages thread-local memory\&. When different threads access the memory an \fBSbTypedStorage\fP object manages, they will receive different memory blocks back\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSbTypedStorage\fP (unsigned int size)" .br .ti -1c .RI "\fBSbTypedStorage\fP (unsigned int size, void(*constr)(void *), void(*destr)(void *))" .br .ti -1c .RI "\fB~SbTypedStorage\fP (void)" .br .ti -1c .RI "Type \fBget\fP (void)" .br .in -1c .SH "Detailed Description" .PP .SS "templateclass SbTypedStorage< Type >" The \fBSbTypedStorage\fP class manages generic thread-local memory\&. .PP This class manages thread-local memory\&. When different threads access the memory an \fBSbTypedStorage\fP object manages, they will receive different memory blocks back\&. This provides a mechanism for sharing read/write static data\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBSbTypedStorage\fP< Type >::\fBSbTypedStorage\fP (unsigned intsize)\fC [inline]\fP" Constructor\&. \fIsize\fP specifies the number of bytes each thread should have in this thread-local memory management object\&. .SS "template \fBSbTypedStorage\fP< Type >::\fBSbTypedStorage\fP (unsigned intsize, void(*)(void *)constr, void(*)(void *)destr)\fC [inline]\fP" Constructor\&. \fIsize\fP 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\&. .SS "template \fBSbTypedStorage\fP< Type >::~\fBSbTypedStorage\fP (void)\fC [inline]\fP" The destructor\&. .SH "Member Function Documentation" .PP .SS "template Type \fBSbTypedStorage\fP< Type >::get (void)\fC [inline]\fP" This method returns the calling thread's thread-local memory block\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.