MAK RTIspy API Documentation for HLA Evolved
 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 
Definition: netAssistantMsgHdr.h:26
Manages the client connection to the RTI Assistant.
Definition: rtiAssistantClient.h:59
DtAssistantMsgKind
Definition: assistantMsg.h:53
Base class for assistant Messages.
Definition: assistantMsg.h:153
The DtAssistantDeleteFederateMsg defines a wrapper for the RTI Assistant delete federate command mess...
Definition: assistantDeleteFederateMsg.h:32
virtual DtAssistantMsgKind internalMsgKind()=0
#define DT_DLL_ASSISTANT
Default – Unix or Win32 static.
Definition: rtiMsConfig.h:150
This file contains the declaration of DtNetAssistantDeleteFederateMsg.
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
virtual DtAssistantMsg * clone(bool copy=true) const =0
Return a copy/empty object of the same type as this.
virtual void printData() const
void(* DtAssistantDeleteFederateCb)(const DtAssistantDeleteFederateMsg &inter, void *usr)
Definition: assistantDeleteFederateMsg.h:26
Network representation for the RTI Assistant delete federate message.
Definition: netAssistantDeleteFederateMsg.h:23

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)