MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ridFileTester.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: ridFileTester.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRidFileTester_H_
13 #define DtRidFileTester_H_
14 
15 #include "connectMgr.h"
16 
17 #include "RIDparams.h"
18 #include "ridTestRequestMsg.h"
19 #include "transferRidParamsMsg.h"
20 
26 {
27 
28 public:
29 
32  DtRIDParameters* ridParams);
33 
35  virtual ~DtRidFileTester();
36 
37 
39  virtual void sendRequestForTesting(const unsigned long initiatingFedID);
40 
43  virtual bool receivedResponse() { return myReceivedResponse;}
44 
52  static void ridResponseCb( const DtTransferRidParamsMsg& msg, void* usr );
53 
54 
55 protected:
56 
58  virtual void ridResponseCb( const DtTransferRidParamsMsg& msg);
59 
60 
61 
62 private:
63 
66  DtRidFileTester(const DtRidFileTester& orig);
67  DtRidFileTester& operator=(const DtRidFileTester& orig);
68 
69 protected:
70 
74  unsigned long myConnectionID;
75 };
76 
77 #endif
DtRIDParameters * myRidParams
Definition: ridFileTester.h:73
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
bool myReceivedResponse
Definition: ridFileTester.h:71
This file contains the declaration of the Connection Manager.
virtual bool receivedResponse()
Returns true if this class has received a ridResponse since it last requested a test.
Definition: ridFileTester.h:43
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:60
Compares a rid file.
Definition: ridFileTester.h:25
Sent by Federates to request testing of the RID file from RtiExec.
Definition: transferRidParamsMsg.h:30
DtConnectionMgr * myConnMgr
Definition: ridFileTester.h:72
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
unsigned long myConnectionID
Definition: ridFileTester.h:74

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)