VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
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
>
15
#include "
globalObjectDesignatorList.h
"
16
17
21
22
class
DT_DLL_VL
DtActionRequestToObjInter
;
23
class
DT_DLL_VL
DtExerciseConn
;
24
25
26
28
typedef
void (*
DtActionRequestToObjInterCb
)
29
(
DtActionRequestToObjInter
* inter,
void
* usr);
30
31
35
class
DT_DLL_VL
DtActionRequestToObjInter
:
public
DtInteractionWithEncDec
36
{
37
public
:
38
40
DtActionRequestToObjInter
();
41
43
virtual
~
DtActionRequestToObjInter
();
44
46
DtActionRequestToObjInter
(
47
const
DtActionRequestToObjInter
& orig);
48
50
DtActionRequestToObjInter
&
operator=
(
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
96
DtGlobalObjectDesignatorList
myObjectList
;
97
DtGlobalObjectDesignator
myNthId
;
98
DtActionId
myAction
;
99
};
100
101
#endif
102
#endif
103
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)