MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ridTestRequestMsg.h
Go to the documentation of this file.
1 /**************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 ***************************************************************************/
5 /**************************************************************************
6 ** $RCSfile: ridTestRequestMsg.h,v $ $Revision: 1.6 $ $State: Exp $
7 ***************************************************************************/
8 
11 
12 #ifndef DtRidTestRequestMsg_H_
13 #define DtRidTestRequestMsg_H_
14 
15 #include "rtiMsg.h"
17 #include <vlutil/vlString.h>
18 #include "netRidTestReqMsg.h"
19 
20 class DtConnectionMgr;
22 
23 typedef void (*DtRidTestReqCb)(const DtRidTestRequestMsg& inter, void* usr);
24 
30 {
31 public:
32 
34  DtRidTestRequestMsg( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
35 
37  DtRidTestRequestMsg( const DtNetRidTestReqMsg* netRepMsg,
38  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
39 
41  virtual ~DtRidTestRequestMsg();
42 
43 
45  DtRtiMsg* clone(bool copy = true) const;
46 
47  virtual int minSize() const;
48 
50  void setDestinationID( const unsigned long ID );
51  const unsigned long destinationID() const;
52 
54  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
55 
56 public:
58  static DtRtiMsg* create( const DtNetMsgHeader* initial,
59  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
60 
62  static DtRtiMsg* create( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
63 
65  static void addCallback(DtConnectionMgr* conn,
66  DtRidTestReqCb cb, void* usr);
67  static void removeCallback(DtConnectionMgr* conn,
68  DtRidTestReqCb cb, void* usr);
69 
70 protected:
71 
74  virtual const DtNetRidTestReqMsg* netRidTestReqMsg() const;
75  virtual DtNetRidTestReqMsg* netRidTestReqMsg();
76 
77 };
78 
79 
80 #endif
81 
DtRtiMsgKind
Definition: rtiMsgKind.h:9
Sent by Federates to request testing of the RID file from RtiExec.
Definition: ridTestRequestMsg.h:29
Definition: netRtiMsgHdr.h:23
Definition: netRidTestReqMsg.h:19
void(* DtRidTestReqCb)(const DtRidTestRequestMsg &inter, void *usr)
Definition: ridTestRequestMsg.h:23
Definition: fedTimeFactory.h:73
virtual void printData(DtLogicalTimeFactory *logicalTimeFactory) const
Instances of DtConnectionMgr manage the communication objects that the RTI will use to either communi...
Definition: connectMgr.h:67
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
virtual DtRtiMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual DtRtiMsgKind internalDtRtiMsgKind()=0
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)