1 #ifndef COIN_SBTYPEDSTORAGE_H 2 #define COIN_SBTYPEDSTORAGE_H 27 #include <Inventor/C/threads/storage.h> 32 SbTypedStorage(
unsigned int size) { this->storage = cc_storage_construct(size); }
33 SbTypedStorage(
unsigned int size,
void (*constr)(
void *),
void (*destr)(
void *))
34 { this->storage = cc_storage_construct_etc(size, constr, destr); }
37 Type
get(void) {
return (Type) cc_storage_get(this->storage); }
43 #endif // !COIN_SBTYPEDSTORAGE_H The SbTypedStorage class manages generic thread-local memory.This class manages thread-local memory...
Definition: SbTypedStorage.h:30
SbTypedStorage(unsigned int size, void(*constr)(void *), void(*destr)(void *))
Definition: SbTypedStorage.h:33
~SbTypedStorage(void)
Definition: SbTypedStorage.h:35
SbTypedStorage(unsigned int size)
Definition: SbTypedStorage.h:32