VR-Link API Documentation for HLA Evolved
tDataInterface.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: tDataInterface.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 #ifndef tDataInterface_H_
9 #define tDataInterface_H_
10 
14 
15 #if DtTENA
16 
17 #include "makLromMapExport.h"
18 #include <vl/tMessageInterface.h>
19 #include <vl/tDataInter.h>
20 #include <MAK/Data/Includes.h>
21 
22 class DtExerciseConn;
23 
28 class DT_DLL_MAKLROM DtDataInterface : public DtMessageInterface
29 {
30 public:
32  DtDataInterface();
33 
35  virtual ~DtDataInterface();
36 
38  virtual void send(const DtInteraction& inter, DtExerciseConn& exConn) const;
39 
41  virtual void addCallback(DtExerciseConn* conn, void* usr);
42 
44  virtual void removeCallback(DtExerciseConn* conn, void* usr);
45 
46 public:
49  static void encode(const DtDataInteraction& inter,
50  MAK::Data::Pointer msgPtr,
51  const DtGlobalObjectDesignator& messageId);
52 
54  static void decode(const MAK::Data::Pointer msgPtr,
55  DtDataInteraction* inter);
56 
57 };
58 
59 
60 
61 #endif
62 #endif
63 
64 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)