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