![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2006 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: ridFileTester.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtRidFileTester_H_ 00013 #define DtRidFileTester_H_ 00014 00015 #include "connectMgr.h" 00016 00017 #include "RIDparams.h" 00018 #include "ridTestRequestMsg.h" 00019 #include "transferRidParamsMsg.h" 00020 00025 class DT_DLL_LRC DtRidFileTester 00026 { 00027 00028 public: 00029 00031 DtRidFileTester( DtConnectionMgr* connMgr, 00032 DtRIDParameters* ridParams); 00033 00035 virtual ~DtRidFileTester(); 00036 00037 00039 virtual void sendRequestForTesting(const unsigned long initiatingFedID); 00040 00043 virtual bool receivedResponse() { return myReceivedResponse;} 00044 00052 static void ridResponseCb( const DtTransferRidParamsMsg& msg, void* usr ); 00053 00054 00055 protected: 00056 00058 virtual void ridResponseCb( const DtTransferRidParamsMsg& msg); 00059 00060 00061 00062 private: 00063 00065 DtRidFileTester(); 00066 DtRidFileTester(const DtRidFileTester& orig); 00067 DtRidFileTester& operator=(const DtRidFileTester& orig); 00068 00069 protected: 00070 00071 bool myReceivedResponse; 00072 DtConnectionMgr* myConnMgr; 00073 DtRIDParameters* myRidParams; 00074 unsigned long myConnectionID; 00075 }; 00076 00077 #endif //! DtRidFileTester_H_