![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef DtGlobalObjectDesignator_H_ 00008 #define DtGlobalObjectDesignator_H_ 00009 00021 00022 00023 #include <vlutil/vlString.h> 00024 #include <vlpi/entityIdentifier.h> 00025 00026 00027 class DT_DLL_VL DtEntityIdentifier; 00028 #if DtHLA 00029 class DT_DLL_VL DtObjectId; 00030 #define DtMAX_OBJECT_NAME_LENGTH 64 00031 00032 00033 #elif (DtDIS || DtTENA) 00034 00035 typedef DtEntityIdentifier DtObjectId; 00036 //typedef DtNetEntityIdentifier DtNetObjectId; 00037 typedef DtNetEntityIdentifier DtNetGlobalObjectDesignator; 00038 #endif 00039 00040 #if DtHLA 00041 00042 typedef DtString DtGlobalObjectDesignator; 00043 00051 class DT_DLL_VL DtNetGlobalObjectDesignator 00052 { 00053 public: 00054 DtNetGlobalObjectDesignator& operator=( 00055 const DtGlobalObjectDesignator& des); 00056 operator DtGlobalObjectDesignator() const; 00057 00058 protected: 00059 char myRep[DtMAX_OBJECT_NAME_LENGTH]; 00060 }; 00061 00062 #elif (DtDIS || DtTENA) 00063 00064 typedef DtObjectId DtGlobalObjectDesignator; 00065 #endif 00066 00067 #endif 00068 00069