VR-Forces 4.0.4 Class Documentation
examples/exampleFomMapper/MyEntityStateRep.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2010 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 
00006 #include "exampleFomMapper.h"
00007 #include <vl/entitySR.h>
00008 #include <vrvVrl/DtEntityStateRepositoryCreator.h>
00009 
00015 class DT_DLL_EXAMPLEFOMMAPPER MyEntityStateRep : public DtEntityStateRepository
00016 {
00017 public:
00018 
00020    virtual void setMass(float mass);
00021 
00023    virtual float mass() const;
00024 
00026    virtual void printData() const;
00027 
00029    virtual DtStateRepository* clone(bool copy = false) const;
00030 
00031 protected:
00032 
00033    float myMass;
00034 };
00035 
00038 class DT_DLL_EXAMPLEFOMMAPPER MyEntityStateRepCreator 
00039    : public makVrv::vrvHla13::DtEntityStateRepositoryCreator
00040 {
00041 public:
00043    virtual DtEntityStateRepository* create();  
00044 };

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)