VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 "
vrfmsgs/messageTypes.h
"
13
#include <
vrfExtProtocol/simInterfaceContent.h
>
14
18
19
class
DT_DLL_vrfmsgs
DtIfScriptedTaskFrameRateResponse
:
public
DtSimInterfaceContent
20
{
21
public
:
22
struct
FrameRateInformation
23
{
24
double
mean
;
25
double
median
;
26
double
standardDeviation
;
27
double
minimum
;
28
double
maximum
;
29
};
30
31
typedef
std::map<std::string, FrameRateInformation>
FrameRateMap
;
32
33
public
:
35
DtIfScriptedTaskFrameRateResponse
();
36
38
DtIfScriptedTaskFrameRateResponse
(
const
DtIfScriptedTaskFrameRateResponse
& orig);
39
41
DtIfScriptedTaskFrameRateResponse
&
operator=
(
const
DtIfScriptedTaskFrameRateResponse
& orig);
42
43
virtual
~
DtIfScriptedTaskFrameRateResponse
();
44
46
virtual
int
type
()
const
;
47
48
virtual
DtSimInterfaceContent
*
clone
()
const
;
49
50
virtual
int
netRepSize
()
const
;
51
virtual
bool
setFromNet
(
const
char
* contentBuffer,
52
unsigned
contentSize);
53
virtual
bool
setToNet
();
54
55
virtual
void
printDataToString
(
DtString
& str);
56
57
static
DtSimInterfaceContent
* creator();
58
virtual
void
addFrameRateInformation(
const
std::string& script,
59
double
mean,
double
median,
double
standardDeviation,
double
minimum,
double
maximum);
60
62
const
FrameRateMap
& frameRateMap()
const
;
63
64
protected
:
65
FrameRateMap
myFrameRateMap
;
66
};
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)