VR-Exchange 2.2 API Documentation
examples/modDisBroker/setDataInTrans.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.** All rights reserved.
3 ******************************************************************************/
4 
5 #pragma once
6 
8 
9 // Get the VR-Link Set Data Interaction. This is the protocol independent API
10 // so much of what you see in this example is good for DIS, HLA and TENA.
11 #include <vl/setDataInter.h>
12 #include <portal/pSetDataInter.h>
13 
14 namespace DtDisBrokerNamespace = MAKVrExchange::DtDisBroker;
15 
16 
19 
28 {
29 public:
30 
31  Dt_DEF_TRANSLATOR_NAME( "SetData" );
32 
36 
41 
43  virtual void enableTranslator(bool enabled);
44 
62  MAKVrExchange::DtPortalSetDataInteraction* destination, const DtSetDataInteraction& source );
63 
82  virtual DtSetDataInteraction* translate( DtSetDataInteraction* destination,
84 
85 protected:
86 
96 
105  virtual void createPortalInteraction( const DtSetDataInteraction& incoming );
106 
119  static void receiveDisInteraction( DtSetDataInteraction* interaction,
120  void* userData );
121 
135  void* userData );
136 
137 private:
138 
140  //explicit copy, and return by value
142 
145 
148 
151 
152 };

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)