VR-Link API Documentation for DIS
tenaUtils.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 tenaUtils_H_
00008 #define tenaUtils_H_
00009 
00010 #if DtTENA
00011 
00012 #include <TENA/UniqueID/Includes.h>
00013 #include <TENA/PlatformType/Includes.h>
00014 #include <TENA/Time/Includes.h>
00015 
00016 #include <vlutil/vlTime.h>
00017 #include <vlpi/entityType.h>
00018 #include <vlpi/entityIdentifier.h>
00019 #include <vlpi/simulationAddress.h>
00020 #include "eventId.h"
00021 #include "globalObjDes.h"
00022 
00027 
00028 namespace DtTENAUtilities
00029 {
00032    DT_DLL_VL TENA::UniqueID::Pointer setUniqueIdFromGlobalId(
00033       const DtGlobalObjectDesignator& globalId);
00034 
00037    DT_DLL_VL DtGlobalObjectDesignator setGlobalIdFromUniqueId(
00038       const TENA::UniqueID::Pointer tenaId);
00039 
00042    DT_DLL_VL TENA::UniqueID::Pointer setUniqueIdFromEventId(
00043       const DtEventId& eventId);
00044 
00047    DT_DLL_VL DtEventId setEventIdFromUniqueId(
00048       const TENA::UniqueID::Pointer tenaId);
00049 
00052    DT_DLL_VL TENA::PlatformType::Pointer setPlatformTypeFromEntType(
00053       const DtEntityType& entType);
00054 
00057    DT_DLL_VL TENA::UniqueID::Pointer setUniqueIdFromEntityId(
00058       const DtEntityIdentifier& entId) ;
00059 
00062    DT_DLL_VL DtEntityType setEntTypeFromPlatformType(
00063       const TENA::PlatformType::Pointer tenaType);
00064 
00067    DT_DLL_VL DtEntityIdentifier setEntityIdFromUniqueId(
00068       const TENA::UniqueID::Pointer tenaId);
00069 
00072    DT_DLL_VL TENA::Time::Pointer setTenaTimeFromVrlinkTime(
00073       const DtTime vrlTime);
00074 
00075 }
00076 
00077 
00078 #endif
00079 #endif
00080 

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)