voxelTerrain
 All Classes Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
blub::idCreator< idType > Class Template Reference

#include <idCreator.hpp>

Public Member Functions

idType createId (void)
 
idType createIdThreadSafe (void)
 

Detailed Description

template<typename idType>
class blub::idCreator< idType >

creates ids

Member Function Documentation

template<typename idType >
idType blub::idCreator< idType >::createId ( void  )
inline

if gets called by multiple threads lock class before or call createIdThreadSafe

template<typename idType >
idType blub::idCreator< idType >::createIdThreadSafe ( void  )
inline

returns threadsafe a new id, call createId if class only gets called by one thread


The documentation for this class was generated from the following file: