VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
serviceRequestEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtServiceRequestEncoder_H_
8 #define DtServiceRequestEncoder_H_
9 
10 #if DtHLA
11 
12 #include "interactionEncoder.h"
13 
17 
19 
20 #define DtDECLARE_SERVREQ_PARAM_ENCODER(paramName) \
21  DtDECLARE_PARAM_ENCODER(DtServiceRequestInteraction, paramName)
22 
23 #define DtDEFINE_SIMPLE_SERVREQ_PARAM_ENCODER(paramName, netType, inspector) \
24  DtDEFINE_SIMPLE_PARAM_ENCODER(DtServiceRequestEncoder, \
25  DtServiceRequestInteraction, paramName, netType, inspector)
26 
31 
32 class DT_DLL_VL DtServiceRequestEncoder : public DtInteractionEncoder
33 {
34 public:
35 
36  DtServiceRequestEncoder(DtExerciseConn* exConn,
37  DtInterClassDesc* classDesc);
38 
40  virtual ~DtServiceRequestEncoder();
41 
43  DtServiceRequestEncoder(const DtServiceRequestEncoder& orig);
44 
46  DtServiceRequestEncoder& operator=(const DtServiceRequestEncoder& orig);
47 
48 protected:
49 
51 
52  DtDECLARE_SERVREQ_PARAM_ENCODER(RequestingObject);
53  DtDECLARE_SERVREQ_PARAM_ENCODER(ServicingObject);
54  DtDECLARE_SERVREQ_PARAM_ENCODER(ServiceType);
55  DtDECLARE_SERVREQ_PARAM_ENCODER(SuppliesData);
57  DtDECLARE_SERVREQ_PARAM_ENCODER(Supplies);
58 };
59 
60 #endif
61 #endif
62 
63 
64 

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)