VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
20 {
21 public:
23  {
24  double mean;
25  double median;
27  double minimum;
28  double maximum;
29  };
30 
31  typedef std::map<std::string, FrameRateInformation> FrameRateMap;
32 
33 public:
36 
39 
42 
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:
66 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)