MAK RTIspy API Documentation for HLA Evolved
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 

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)