VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
serviceRequestDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtServiceRequestDecoder_H_
8 #define DtServiceRequestDecoder_H_
9 
10 #if DtHLA
11 
12 #include "interactionDecoder.h"
13 
17 
19 
22 
23 #define DtDECLARE_SERVREQ_PARAM_DECODER(paramName) \
24  DtDECLARE_PARAM_DECODER(DtServiceRequestInteraction, paramName)
25 
26 #define DtDEFINE_SIMPLE_SERVREQ_PARAM_DECODER( \
27  paramName, netType, mutator) \
28  DtDEFINE_SIMPLE_PARAM_DECODER( \
29  DtServiceRequestDecoder, DtServiceRequestInteraction, \
30  paramName, netType, mutator)
31 
32 #define DtDEFINE_SIMPLE_SERVREQ_PARAM_DECODER_WITH_CAST( \
33  paramName, netType, mutator, castExpr) \
34  DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
35  DtServiceRequestDecoder, DtServiceRequestInteraction, \
36  paramName, netType, mutator, castExpr)
37 
42 
43 class DT_DLL_VL DtServiceRequestDecoder : public DtInteractionDecoder
44 {
45 public:
46 
48  DtServiceRequestDecoder(DtExerciseConn* exConn,
49  DtInterClassDesc* classDesc);
50 
52  virtual ~DtServiceRequestDecoder();
53 
55  DtServiceRequestDecoder(const DtServiceRequestDecoder& orig);
56 
58  DtServiceRequestDecoder& operator=(const DtServiceRequestDecoder& orig);
59 
60 protected:
61 
63 
64  DtDECLARE_SERVREQ_PARAM_DECODER(RequestingObject);
65  DtDECLARE_SERVREQ_PARAM_DECODER(ServicingObject);
66  DtDECLARE_SERVREQ_PARAM_DECODER(ServiceType);
67  DtDECLARE_SERVREQ_PARAM_DECODER(SuppliesData);
69  DtDECLARE_SERVREQ_PARAM_DECODER(Supplies);
70 };
71 
72 #endif
73 #endif
74 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtInteractionDecoder.
Definition: serviceRequestPdu.h:28

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)