VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
actionRequestToObjInter.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef actionRequestToObjInter_H_
8 #define actionRequestToObjInter_H_
9 
10 #if DtHLA
11 
12 #include "interactionWithEncDec.h"
13 #include "hostStructs.h"
14 #include <matrix/vlMath.h>
16 
17 
21 
24 
25 
26 
28 typedef void (*DtActionRequestToObjInterCb)
29  (DtActionRequestToObjInter* inter, void* usr);
30 
31 
36 {
37 public:
38 
41 
43  virtual ~DtActionRequestToObjInter();
44 
47  const DtActionRequestToObjInter& orig);
48 
51  const DtActionRequestToObjInter& orig);
52 
54  virtual void printData() const;
55 
57  virtual void printDataToStream(std::ostream& stream) const;
58 
60  virtual const DtGlobalObjectDesignatorList& objectIDs() const;
61  virtual DtGlobalObjectDesignatorList* objectIDs();
62 
64  virtual void setNumIds(DtU8 numIds);
65  virtual DtU8 numIds() const;
66 
68  virtual void setNthObjectId(
69  DtInt32 idIndex, const DtGlobalObjectDesignator& id);
70  virtual const DtGlobalObjectDesignator& nthObjectId(DtInt32 idIndex) const;
71 
73  virtual void setAction(DtActionId action);
74  virtual DtActionId action() const;
75 
77  virtual const char* name() const;
78 
79 public:
80 
83  static DtInteraction* create();
84 
87  static void addCallback(DtExerciseConn* conn,
88  DtActionRequestToObjInterCb cb, void* usr, DtDDMRegionSP region =
89  DtDDMRegionSP());
90  static void removeCallback(DtExerciseConn* conn,
91  DtActionRequestToObjInterCb cb, void* usr, DtDDMRegionSP region =
92  DtDDMRegionSP());
93 
94 protected:
95 
99 };
100 
101 #endif
102 #endif
103 
DtInteraction is an abstract base class for representing HLA interactions (or events) (as opposed to ...
Definition: interactionHLA.h:33
DtGlobalObjectDesignatorList myObjectList
Definition: actionRequestToObjInter.h:96
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
DtGlobalObjectDesignator myNthId
Definition: actionRequestToObjInter.h:97
static void removeCallback(DtExerciseConn *conn, const std::vector< DtString > *classes, DtReceiveInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
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:348
DtActionId myAction
Definition: actionRequestToObjInter.h:98
Instances of DtActionRequestToObjInter are used to represent ActionRequestToObject Interactions in th...
Definition: actionRequestToObjInter.h:35
virtual void printDataToStream(std::ostream &stream) const
Print the interaction&#39;s data to the stream.
Definition: interactionHLA.h:356
virtual const char * name() const =0
Name of the interaction. (Not necessarily the ClassName from the FOM.)
DtActionId
Definition: disEnums.h:412
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
DtBoost::shared_ptr< DtDDMRegion > DtDDMRegionSP
Definition: region13.h:31
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
This file provides a declaration of the class DtInteractionWithEncDec.
class DtInteractionWithEncDec:
Definition: interactionWithEncDec.h:44
long int DtInt32
A 32 bit integer value.
Definition: vlMachineTypes.h:156
Instances of DtString are used to represent strings.
Definition: vlString.h:29
void(* DtActionRequestToObjInterCb)(DtActionRequestToObjInter *inter, void *usr)
ActionRequestToObject interaction callback function signature.
Definition: actionRequestToObjInter.h:29
This class declares DtGlobalObjectDesignatorList.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)