VR-Link API Documentation for DIS
testEnc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 #pragma once
00006 
00007 #if DtHLA 
00008 
00009 
00010 
00011 #include <vl/hStateEncoder.h>
00012 
00014 class DT_DLL_VL TestStateRepository;
00015 
00018 
00021 #define DtDECLARE_TEST_ATTR_CHECKER(attrName) \
00022    DtDECLARE_ATTR_CHECKER(TestStateRepository, attrName) 
00023 
00026 #define DtDECLARE_TEST_ATTR_ENCODER(attrName) \
00027    DtDECLARE_ATTR_ENCODER(TestStateRepository, attrName) 
00028 
00033 #define DtDEFINE_SIMPLE_TEST_ATTR_ENCODER( \
00034    attrName, netType, inspector) \
00035    DtDEFINE_SIMPLE_ATTR_ENCODER(TestEncoder, \
00036       TestStateRepository, attrName, netType, inspector)
00037 
00043 #define DtDEFINE_SIMPLE_TEST_ATTR_CHECKER( \
00044    attrName, inspector) \
00045    DtDEFINE_SIMPLE_ATTR_CHECKER(TestEncoder, \
00046       TestStateRepository, \
00047       attrName, inspector)
00048 
00050 class  TestEncoder : public DtHlaStateEncoder
00051 {
00052 public:
00053 
00055    TestEncoder(
00056       DtExerciseConn* exConn,
00057       DtObjClassDesc* classDesc);
00058 
00060    virtual ~TestEncoder();
00061 
00062 protected:
00063 
00069    DtDECLARE_TEST_ATTR_ENCODER(Number);
00070    DtDECLARE_TEST_ATTR_ENCODER(Vector);
00071 
00076  
00077    DtDECLARE_TEST_ATTR_CHECKER(Number);
00078    DtDECLARE_TEST_ATTR_CHECKER(Vector);
00079 };
00080 
00081 #endif
00082 

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)