![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef TestDecoder_H_ 00008 #define TestDecoder_H_ 00009 00010 #if DtHLA 00011 00012 #include <vl/interDecoder.h> 00013 00015 class TestInteraction; 00016 00019 00023 #define DtDECLARE_TEST_PARAM_DECODER(paramName) \ 00024 DtDECLARE_PARAM_DECODER(TestInteraction, paramName) 00025 00033 #define DtDEFINE_SIMPLE_TEST_PARAM_DECODER(paramName, netType, mutator) \ 00034 DtDEFINE_SIMPLE_PARAM_DECODER(TestDecoder, TestInteraction, \ 00035 paramName, netType, mutator) 00036 00042 #define DtDEFINE_SIMPLE_TEST_PARAM_DECODER_WITH_CAST( \ 00043 paramName, netType, mutator, castExpr) \ 00044 DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \ 00045 TestDecoder, TestInteraction, \ 00046 paramName, netType, mutator, castExpr) 00047 00051 class TestDecoder : public DtInteractionDecoder 00052 { 00053 public: 00054 00056 TestDecoder(DtExerciseConn* exConn, 00057 DtInterClassDesc* classDesc); 00058 00060 virtual ~TestDecoder(); 00061 00062 protected: 00063 00068 DtDECLARE_TEST_PARAM_DECODER(Number); 00069 00074 DtDECLARE_TEST_PARAM_DECODER(Vector); 00075 }; 00076 00077 #endif 00078 #endif