![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtUniqueID.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 namespace makVrv 00016 { 00017 //The unique ID used throughout for the distributed object framework. 00018 //A unique id is shared by the drivers and the objects that they control. 00019 //Use 64bit unique ids. While they are not as fast as 32bit integers 00020 //They will NEVER collide, you can generate 1,000,000 new objects per 00021 //frame, 60fps for ~10,000 years straight. 00022 typedef unsigned long long DtUniqueID; 00023 00026 typedef DtUniqueID DtElementID; 00027 00028 }