VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
tStartInter.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 tStartInter_H_
8
#define tStartInter_H_
9
10
#if DtTENA
11
12
#include "
tInteraction.h
"
13
#include <
vlpi/entityIdentifier.h
>
14
#include <
vlutil/vlTime.h
>
15
19
20
class
DT_DLL_VL
DtStartResumeInteraction
;
21
23
typedef
void (*
DtStartResumeInteractionCb
)(
DtStartResumeInteraction
* inter,
void
* usr);
24
28
class
DT_DLL_VL
DtStartResumeInteraction
:
public
DtInteraction
29
{
30
public
:
32
DtStartResumeInteraction
();
33
35
virtual
~
DtStartResumeInteraction
();
36
38
DtStartResumeInteraction
(
const
DtStartResumeInteraction
& orig);
39
41
DtStartResumeInteraction
&
operator=
(
const
DtStartResumeInteraction
& orig);
42
44
virtual
void
setSenderId(
const
DtEntityIdentifier
&
id
);
45
47
virtual
const
DtEntityIdentifier
& senderId()
const
;
48
50
virtual
void
setReceiverId(
const
DtEntityIdentifier
&
id
);
51
53
virtual
const
DtEntityIdentifier
& receiverId()
const
;
54
56
virtual
void
setRealWorldTime(
const
DtTime
time);
57
59
virtual
DtTime
realWorldTime()
const
;
60
62
virtual
void
setSimulationTime(
const
DtTime
time);
63
65
virtual
DtTime
simulationTime()
const
;
66
68
virtual
void
setRequestId(
int
id
);
69
71
virtual
int
requestId()
const
;
72
74
virtual
const
char
*
name
()
const
;
75
77
virtual
void
printData
()
const
;
78
80
virtual
void
printDataToStream
(std::ostream& stream)
const
;
81
82
public
:
83
86
static
DtInteraction
* create();
87
90
static
void
addCallback
(
DtExerciseConn
* conn,
91
DtStartResumeInteractionCb
cb,
void
* usr);
92
static
void
removeCallback
(
DtExerciseConn
* conn,
93
DtStartResumeInteractionCb
cb,
void
* usr);
94
95
96
protected
:
97
DtEntityIdentifier
myOrigEnt;
98
DtEntityIdentifier
myReceiveEnt;
99
int
myRequestId;
100
DtTime
myRealTime;
101
DtTime
mySimTime;
102
};
103
104
#endif
105
#endif
106
107
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)