VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfExtDiGuyStateRepository.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vl/diGuyObjectStateRepository.h>
13 
14 /*
15  Notes: this class has to be here, in VrfVrlExt, and not in VR-Vantage, so that
16  versions of it for DIS and the various HLAs will be automatically generated.
17  This doesn't matter for the code specific to this class, but we can't inherit
18  from DtDIGuyObjectStateRepository without the network protocol being properly
19  defined in compiler variables.
20 */
21 
22 class DtExerciseConn;
23 
26 {
27 public:
31 
33 
36 
38  virtual DtStateRepository* clone(bool copy) const;
39 
40  //@name DtDIGuyObjectStateRepository overridden functions
42 
43  virtual void setBodyWeight(double val);
44  virtual double bodyWeight() const;
45 
47 
50  static DtDIGuyObjectStateRepository* create();
51 
52  // Registers the decoders needed for DI-Guy
53  static void registerExtensions(DtExerciseConn *exConn);
54 
55 private:
56  double myBodyWeight;
57 };
58 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)