VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MyEntityStateRep.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
7 #include "exampleFomMapper.h"
8 #include <vl/entityStateRepository.h>
10 
12 
19 {
20 public:
21 
23  virtual void setMass(float mass);
24 
26  virtual float mass() const;
27 
29  virtual void printData() const;
30 
32  virtual DtStateRepository* clone(bool copy = false) const;
33 
34 protected:
35 
36  float myMass;
37 };
38 
43 {
44 public:
46  virtual DtEntityStateRepository* create();
47 };
#define DT_DLL_EXAMPLEFOMMAPPER
Definition: exampleFomMapper.h:18
virtual DtStateRepository * clone(bool copy=false) const
Return a copy/empty object of the same type as this.
Creator for registering MyEntityStateRep.
Definition: MyEntityStateRep.h:41
Because this example adds a concept that did not already exist in VR-Link&#39;s DtEntityStateRepository c...
Definition: myEsr.h:24
DtExtEntityStateRepository class extends the DtExtEntityBaseStateRepository to be able to handle exte...
Definition: extEntityStateRepository.h:25
Contains DLL export macros.
Contains the DtExtEntityStateRepository class.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)