MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
execShutdownForwarderMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: execShutdownForwarderMsg.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtRtiExecShutdownForwarderMsg_H_
13 #define DtRtiExecShutdownForwarderMsg_H_
14 
15 #include "rtiMsg.h"
16 
17 
18 class DtConnectionMgr;
21 typedef void (*DtRtiExecShutdownCb)(const DtRtiExecShutdownForwarderMsg& inter, void* usr);
22 
24 {
25 public:
26 
28  DtRtiExecShutdownForwarderMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
29 
32  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
33 
36 
38  virtual DtRtiMsg* clone(bool copy = true) const;
39 
41  virtual void printData(DtLogicalTimeFactory* logicalTimeFactory) const;
42 
43 public:
44 
46  static DtRtiMsg* create(const DtNetMsgHeader* initial,
47  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
48 
49  static DtRtiMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
50 
52  static void addCallback(DtConnectionMgr* conn,
53  DtRtiExecShutdownCb cb, void* usr, bool isMomCallback=false);
54  static void removeCallback(DtConnectionMgr* conn,
55  DtRtiExecShutdownCb cb, void* usr, bool isMomCallback=false);
56 
57 protected:
58 
60  virtual DtNetExecShutdownForwarderMsg* netExecShutdownForwarderMsg();
61  virtual const DtNetExecShutdownForwarderMsg* netExecShutdownForwarderMsg() const;
62 
65 
67  virtual int minSize() const;
68 
70  virtual DtRtiExecShutdownForwarderMsg* self() const;
71 
72 protected:
73 
74 };
75 
76 
78 {
79  return const_cast<DtRtiExecShutdownForwarderMsg*>( this );
80 }
81 
82 #endif
83 

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)