![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 2006 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: tStopInterface.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef tStopInterface_H_ 00009 #define tStopInterface_H_ 00010 00014 00015 #if DtTENA 00016 00017 #include "makLromMapExport.h" 00018 #include <vl/tMessageInterface.h> 00019 #include <vl/tStopInter.h> 00020 #include <MAK/StopFreeze/Includes.h> 00021 #include <TENA/PlatformType/Includes.h> 00022 #include <TENA/UniqueID/Includes.h> 00023 00024 class DtExerciseConn; 00025 00030 class DT_DLL_MAKLROM DtStopFreezeInterface : public DtMessageInterface 00031 { 00032 public: 00034 DtStopFreezeInterface(); 00035 00037 virtual ~DtStopFreezeInterface(); 00038 00040 virtual void send(const DtInteraction& inter, DtExerciseConn& exConn) const; 00041 00043 virtual void addCallback(DtExerciseConn* conn, void* usr); 00044 00046 virtual void removeCallback(DtExerciseConn* conn, void* usr); 00047 00048 public: 00050 static void decode(const MAK::StopFreeze::Pointer msgPtr, 00051 DtStopFreezeInteraction* stopInter); 00052 00055 static void encode(const DtStopFreezeInteraction& inter, 00056 MAK::StopFreeze::Pointer msgPtr, 00057 const DtGlobalObjectDesignator& messageId); 00058 }; 00059 00060 00061 00062 #endif 00063 #endif 00064