VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifScriptedTaskFrameRateResponse.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfmsgs/vrfmsgsDefines.h
"
12
#include <
vrfExtProtocol/ifaceCont.h
>
13
17
18
const
int
DtScriptedTaskFrameRateResponseType
= 140;
19
20
class
DT_DLL_vrfmsgs
DtIfScriptedTaskFrameRateResponse
:
public
DtSimInterfaceContent
21
{
22
public
:
23
struct
FrameRateInformation
24
{
25
double
mean
;
26
double
median
;
27
double
standardDeviation
;
28
double
minimum
;
29
double
maximum
;
30
};
31
32
typedef
std::map<std::string, FrameRateInformation>
FrameRateMap
;
33
34
public
:
36
DtIfScriptedTaskFrameRateResponse
();
37
39
DtIfScriptedTaskFrameRateResponse
(
const
DtIfScriptedTaskFrameRateResponse
& orig);
40
42
DtIfScriptedTaskFrameRateResponse
&
operator=
(
const
DtIfScriptedTaskFrameRateResponse
& orig);
43
44
virtual
~
DtIfScriptedTaskFrameRateResponse
();
45
47
virtual
int
type
()
const
;
48
49
virtual
DtSimInterfaceContent
*
clone
()
const
;
50
51
virtual
int
netRepSize
()
const
;
52
virtual
bool
setFromNet
(
const
char
* contentBuffer,
53
unsigned
contentSize);
54
virtual
bool
setToNet
();
55
56
virtual
void
printDataToString
(
DtString
& str);
57
58
static
DtSimInterfaceContent
* creator();
59
virtual
void
addFrameRateInformation(
const
std::string& script,
60
double
mean,
double
median,
double
standardDeviation,
double
minimum,
double
maximum);
61
63
const
FrameRateMap
& frameRateMap()
const
;
64
65
protected
:
66
FrameRateMap
myFrameRateMap
;
67
};
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)