MAK RTIspy API Documentation for HLA 1.3
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 #ifdef DtIFSPEC1516
40  virtual void setTag(rti1516::VariableLengthData const& tag);
41  virtual rti1516::VariableLengthData const& tag() const;
42 #elif defined(DtIFSPEC1516E)
43  virtual void setTag(rti1516e::VariableLengthData const& tag);
44  virtual rti1516e::VariableLengthData const& tag() const;
45 #else
46  virtual void setTag(char const * tag);
47  virtual char const * tag() const;
48 #endif
49 
50 protected:
51 
53  virtual void setTagSize(int size) = 0;
54  virtual int tagSize() const = 0;
55 
57  virtual char* tagPtr() = 0;
58 
60  virtual int tagFieldSize() const;
61 
63  virtual DtDeleteMsg* self() const;
64 
65 protected:
66 #ifdef DtIFSPEC1516
68 #elif defined(DtIFSPEC1516E)
70 #else
71  char* myTag;
72 #endif
73 };
74 
75 
77 {
78  return const_cast<DtDeleteMsg*>( this );
79 }
80 
81 #endif
82 

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)