VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
removeObjectRequestInter.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef removeObjectRequestInter_H_
8 #define removeObjectRequestInter_H_
9 
10 #if DtHLA
11 
12 #include "interactionWithEncDec.h"
13 #include "hostStructs.h"
14 #include <matrix/vlMath.h>
16 
17 
18 
22 
25 
26 
28 typedef void (*DtRemoveObjectRequestInterCb)
29  (DtRemoveObjectRequestInter* inter, void* usr);
30 
35 
36 
38 {
39 public:
40 
43 
45  virtual ~DtRemoveObjectRequestInter();
46 
49 
52  const DtRemoveObjectRequestInter& orig);
53 
55  virtual void printData() const;
56 
58  virtual void printDataToStream(std::ostream& stream) const;
59 
61  virtual const DtGlobalObjectDesignatorList& objectIDs() const;
62  virtual DtGlobalObjectDesignatorList* objectIDs();
63 
65  virtual void setNumIds(DtU8 numIds);
66  virtual DtU8 numIds() const;
67 
69  virtual void setNthObjectId(
70  DtInt32 idIndex, const DtGlobalObjectDesignator& id);
71  virtual const DtGlobalObjectDesignator& nthObjectId(DtInt32 idIndex) const;
72 
74  virtual void setRequestId(DtU32 id);
75  virtual DtU32 requestId() const;
76 
78  virtual const char* name() const;
79 
80 public:
81 
84  static DtInteraction* create();
85 
88  static void addCallback(DtExerciseConn* conn,
89  DtRemoveObjectRequestInterCb cb, void* usr,
90  DtDDMRegionSP region = DtDDMRegionSP());
91  static void removeCallback(DtExerciseConn* conn,
92  DtRemoveObjectRequestInterCb cb, void* usr,
93  DtDDMRegionSP region = DtDDMRegionSP());
94 
95 protected:
96 
100 };
101 
103 {
104  myRequestId = id;
105 }
106 
108 {
109  return myRequestId;
110 }
111 
112 inline const char* DtRemoveObjectRequestInter::name() const
113 {
114  return "DtRemoveObjectRequestInter";
115 }
116 
117 #endif
118 #endif
119 
120 
DtInteraction is an abstract base class for representing HLA interactions (or events) (as opposed to ...
Definition: interactionHLA.h:33
DtU32 myRequestId
Definition: removeObjectRequestInter.h:99
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
DtInteractionWithEncDec & operator=(const DtInteractionWithEncDec &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual void setRequestId(DtU32 id)
Set/Get request ID.
Definition: removeObjectRequestInter.h:102
virtual DtU32 requestId() const
Definition: removeObjectRequestInter.h:107
static void removeCallback(DtExerciseConn *conn, const std::vector< DtString > *classes, DtReceiveInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
DtGlobalObjectDesignatorList myObjectList
Definition: removeObjectRequestInter.h:97
This file defines math constants and methods which may be useful in simulations.
virtual void printData() const
Print the interaction&#39;s data to DtInfo.
Definition: interactionHLA.h:358
virtual void printDataToStream(std::ostream &stream) const
Print the interaction&#39;s data to the stream.
Definition: interactionHLA.h:366
virtual const char * name() const =0
Name of the interaction. (Not necessarily the ClassName from the FOM.)
std::shared_ptr< DtDDMRegion > DtDDMRegionSP
Definition: region13.h:31
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
static void addCallback(DtExerciseConn *conn, const std::vector< DtString > *classes, DtReceiveInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
Register/Deregister callback function cb with conn, on all interaction class name (char*) contained i...
Instances of DtGlobalObjectDesignatorList are list of globally significant object identifiers...
Definition: globalObjectDesignatorList.h:21
void(* DtRemoveObjectRequestInterCb)(DtRemoveObjectRequestInter *inter, void *usr)
RemoveObjectRequest interaction callback function signature.
Definition: removeObjectRequestInter.h:29
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
DtGlobalObjectDesignator myNthId
Definition: removeObjectRequestInter.h:98
This file provides a declaration of the class DtInteractionWithEncDec.
virtual const char * name() const
Name of the interaction. (Not necessarily the ClassName from the FOM.)
Definition: removeObjectRequestInter.h:112
class DtInteractionWithEncDec:
Definition: interactionWithEncDec.h:44
long int DtInt32
A 32 bit integer value.
Definition: vlMachineTypes.h:156
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
Instances of DtString are used to represent strings.
Definition: vlString.h:36
class DtRemoveObjectRequestInter:
Definition: removeObjectRequestInter.h:37
This class declares DtGlobalObjectDesignatorList.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)