MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
serUnpubInt.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: serUnpubInt.h,v $ $Revision: 1.7 $ $State: Exp $
7 *********************************************************************/
8 #ifdef DtMOM
9 
12 
13 #ifndef DtUnpublishInteractionClassInteraction_H_
14 #define DtUnpublishInteractionClassInteraction_H_
15 
16 #include "rtiMsConfig.h"
17 #include "internalTypes.h"
18 #include "mInteraction.h"
19 #include <vlutil/vlList.h>
20 
21 class DtMomInterCbMgr;
22 class DtUnpublishInteractionClassInteraction;
23 typedef void (*DtUnpublishInteractionClassInteractionCb)
24  (const DtUnpublishInteractionClassInteraction& inter, void* usr);
25 
26 class DT_DLL_LRC DtUnpublishInteractionClassInteraction :
27  public DtServiceInteraction
28 {
29 public:
30 
32  DtUnpublishInteractionClassInteraction();
33 
35  virtual ~DtUnpublishInteractionClassInteraction();
36 
38  DtUnpublishInteractionClassInteraction(
39  const DtUnpublishInteractionClassInteraction& orig);
40 
42  DtUnpublishInteractionClassInteraction& operator=(
43  const DtUnpublishInteractionClassInteraction& orig);
44 
47  virtual const DtPhvps& phvps();
48 
51  virtual bool setFromPhvps(const DtPhvps& phvps);
52 
54  virtual DtInteractionClassHandle interactionHandle() const;
55  virtual void setInteractionHandle(DtInteractionClassHandle data);
56 
57 
58 public:
60  static DtServiceInteraction* create();
61 
63  static void addCallback(DtMomInterCbMgr* callBackManager,
64  DtUnpublishInteractionClassInteractionCb cb, void* usr);
65  static void removeCallback(DtMomInterCbMgr* callBackManager,
66  DtUnpublishInteractionClassInteractionCb cb, void* usr);
67 
68 protected:
69 
71  virtual void encodeInteractionHandle(
72  const DtMomInteraction& data,
73  DtPhvps* parameters,
74  DtParameterHandle parameterHandle);
75 
77  virtual void decodeInteractionHandle(
78  DtMomInteraction* data,
79  const DtPhvps& parameters,
80  int index);
81 
82 public:
83  static const char* theInteractionName;
84 
85 protected:
87  DtInteractionClassHandle myInteractionHandle;
88  bool myReceivedInteractionHandle;
89 
90  const char *INTERACTION_HANDLE_PARAMETER_NAME;
91 
92 };
93 
94 #endif
95 #endif
DtHandle DtInteractionClassHandle
Definition: internalTypes.h:35
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:38

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)