MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantDeleteFederationMsg.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: assistantDeleteFederationMsg.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtAssistantDeleteFederationMsg_H_
10 #define DtAssistantDeleteFederationMsg_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 (*DtAssistantDeleteFederationCb)(const DtAssistantDeleteFederationMsg& inter, void* usr);
27 
33 {
34 public:
35 
37  DtAssistantDeleteFederationMsg(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 void printData() const;
56 
57 public:
58 
60  static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
61  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
62 
63  static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
64 
67  static void addCallback(DtRtiAssistantClient* conn,
68  DtAssistantDeleteFederationCb cb, void* usr);
69  static void removeCallback(DtRtiAssistantClient* conn,
70  DtAssistantDeleteFederationCb cb, void* usr);
71 
74  static void addCallback(DtRtiAssistantPeer* conn,
75  DtAssistantDeleteFederationCb cb, void* usr);
76  static void removeCallback(DtRtiAssistantPeer* conn,
77  DtAssistantDeleteFederationCb cb, void* usr);
78 
79 protected:
80 
82  virtual DtNetAssistantDeleteFederationMsg* netAssistantDeleteFederationMsg();
83  virtual const DtNetAssistantDeleteFederationMsg* netAssistantDeleteFederationMsg() const;
84 
87 
89  virtual int minSize() const;
90 
91 };
92 
93 #endif
94 
Network representation for the RTI Assistant delete federation message.
Definition: netAssistantDeleteFederationMsg.h:24
Definition: netAssistantMsgHdr.h:26
Manages the client connection to the RTI Assistant.
Definition: rtiAssistantClient.h:59
This file contains the declaration of DtNetAssistantDeleteFederationMsg.
The DtAssistantDeleteFederationMsg defines a wrapper for the RTI Assistant delete federation message ...
Definition: assistantDeleteFederationMsg.h:32
DtAssistantMsgKind
Definition: assistantMsg.h:52
Base class for assistant Messages.
Definition: assistantMsg.h:152
virtual DtAssistantMsgKind internalMsgKind()=0
#define DT_DLL_ASSISTANT
_WIN32
Definition: rtiMsConfig.h:121
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(* DtAssistantDeleteFederationCb)(const DtAssistantDeleteFederationMsg &inter, void *usr)
Definition: assistantDeleteFederationMsg.h:26

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)