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
Type get(void)
Definition: SbTypedStorage.h:37
~SbTypedStorage(void)
Definition: SbTypedStorage.h:35
SbTypedStorage(unsigned int size, void(*constr)(void *), void(*destr)(void *))
Definition: SbTypedStorage.h:33
The SbTypedStorage class manages generic thread-local memory.
Definition: SbTypedStorage.h:30
SbTypedStorage(unsigned int size)
Definition: SbTypedStorage.h:32
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen 1.8.18.