MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantDeleteFederateMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantDeleteFederateMsg.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantDeleteFederateMsg_H_
10 #define DtAssistantDeleteFederateMsg_H_
11 
15 
16 #include <vlutil/vlString.h>
17 #include <vlutil/vlUtil.h>
18 
19 #include "assistantMsg.h"
21 
23 class DtRtiAssistantPeer;
25 
26 typedef void (*DtAssistantDeleteFederateCb)(const DtAssistantDeleteFederateMsg& inter, void* usr);
27 
33 {
34 public:
35 
37  DtAssistantDeleteFederateMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
38 
40  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
41 
44 
46  virtual DtAssistantMsg* clone(bool copy = true) const;
47 
49  virtual unsigned long federationHandle() const;
50 
52  virtual void setFederationHandle( unsigned long handle );
53 
55  virtual unsigned long federateHandle() const;
56 
58  virtual void setFederateHandle( unsigned long handle );
59 
61  virtual void printData() const;
62 
63 public:
64 
66  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
67  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
68 
69  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
70 
73  static void addCallback(DtRtiAssistantClient* conn,
74  DtAssistantDeleteFederateCb cb, void* usr);
75  static void removeCallback(DtRtiAssistantClient* conn,
76  DtAssistantDeleteFederateCb cb, void* usr);
77 
80  static void addCallback(DtRtiAssistantPeer* conn,
81  DtAssistantDeleteFederateCb cb, void* usr);
82  static void removeCallback(DtRtiAssistantPeer* conn,
83  DtAssistantDeleteFederateCb cb, void* usr);
84 
85 protected:
86 
88  virtual DtNetAssistantDeleteFederateMsg* netAssistantDeleteFederateMsg();
89  virtual const DtNetAssistantDeleteFederateMsg* netAssistantDeleteFederateMsg() const;
90 
93 
95  virtual int minSize() const;
96 
97 };
98 
99 #endif
100 

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)