VR-Link API Documentation for HLA Evolved
globalObjDes.h
Go to the documentation of this file.
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 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)