MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
deleteMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: deleteMsg.h,v $ $Revision: 1.18 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtDeleteMsg_H_
13 #define DtDeleteMsg_H_
14 
15 #include "rtiMsConfig.h"
16 #include "rtiMsg.h"
17 
18 class DtConnectionMgr;
19 class DtDeleteMsg;
20 typedef void (*DtDeleteCb)(const DtDeleteMsg& inter, void* usr);
21 
22 
25 {
26 public:
27 
29  DtDeleteMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
30 
32  virtual ~DtDeleteMsg();
33 
35  virtual void setId(DtObjectInstanceHandle id) = 0;
36  virtual DtObjectInstanceHandle id() const = 0;
37 
39  virtual void setTag(DtRtiApiTagConstRef tag, bool adjustBufferSize = true);
40  virtual DtRtiApiTagConstRef tag() const;
41 
42 protected:
43 
45  virtual void setTagSize(int size) = 0;
46  virtual int tagSize() const = 0;
47 
49  virtual char* tagPtr() = 0;
50 
52  virtual DtDeleteMsg* self() const;
53 
54 protected:
56 };
57 
58 
60 {
61  return const_cast<DtDeleteMsg*>( this );
62 }
63 
64 #endif
65 
virtual DtDeleteMsg * self() const
Casts away const-ness.
Definition: deleteMsg.h:59
DtRtiApiVariableLengthData * DtRtiApiTagPtr
Definition: rtiApiTypes.h:100
DtRtiApiVariableLengthData const & DtRtiApiTagConstRef
Definition: rtiApiTypes.h:98
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
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:50
DtRtiApiTagPtr myTag
Definition: deleteMsg.h:55
void(* DtDeleteCb)(const DtDeleteMsg &inter, void *usr)
Definition: deleteMsg.h:20
The Delete message class indicates a deleted RTI object.
Definition: deleteMsg.h:24
#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)