VR-Link API Documentation for HLA 1.3
 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 VT MAK
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 

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)