VR-Link API Documentation for DIS
hServReqDec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef DtServiceRequestDecoder_H_
00008 #define DtServiceRequestDecoder_H_
00009 
00010 #if DtHLA
00011 
00012 #include "interDecoder.h"
00013 
00017 
00018 class DT_DLL_VL DtServiceRequestInteraction;
00019 
00022 
00023 #define DtDECLARE_SERVREQ_PARAM_DECODER(paramName) \
00024    DtDECLARE_PARAM_DECODER(DtServiceRequestInteraction, paramName)
00025 
00026 #define DtDEFINE_SIMPLE_SERVREQ_PARAM_DECODER( \
00027    paramName, netType, mutator) \
00028    DtDEFINE_SIMPLE_PARAM_DECODER( \
00029       DtServiceRequestDecoder, DtServiceRequestInteraction, \
00030       paramName, netType, mutator)
00031 
00032 #define DtDEFINE_SIMPLE_SERVREQ_PARAM_DECODER_WITH_CAST( \
00033    paramName, netType, mutator, castExpr) \
00034    DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
00035       DtServiceRequestDecoder, DtServiceRequestInteraction, \
00036       paramName, netType, mutator, castExpr)
00037 
00042 
00043 class DT_DLL_VL DtServiceRequestDecoder : public DtInteractionDecoder
00044 {
00045 public:
00046 
00048    DtServiceRequestDecoder(DtExerciseConn* exConn,
00049       DtInterClassDesc* classDesc);
00050 
00052    virtual ~DtServiceRequestDecoder();
00053 
00055    DtServiceRequestDecoder(const DtServiceRequestDecoder& orig);
00056 
00058    DtServiceRequestDecoder& operator=(const DtServiceRequestDecoder& orig);
00059 
00060 protected:
00061 
00063 
00064    DtDECLARE_SERVREQ_PARAM_DECODER(RequestingObject);
00065    DtDECLARE_SERVREQ_PARAM_DECODER(ServicingObject);
00066    DtDECLARE_SERVREQ_PARAM_DECODER(ServiceType);
00067    DtDECLARE_SERVREQ_PARAM_DECODER(SuppliesData);
00069    DtDECLARE_SERVREQ_PARAM_DECODER(Supplies);
00070 };
00071 
00072 #endif
00073 #endif
00074 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)