VR-Forces 4.0.4 Class Documentation
examples/exampleFomMapper/MyEntityStateRepInterceptor.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2012 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 
00009 
00010 #pragma once
00011 
00012 #include "exampleFomMapper.h"
00013 
00014 #include <vl/hlaObj.h>
00015 #include <vl/entitySR.h>
00016 #include <vrvVrl/DtEntityStateInterceptor.h>
00017 #include <vrvVrl/DtEntityStateInterceptorCreator.h>
00018 #include <vrvVrl/DtVrlinkEntityStateListener.h>
00019 
00021 class DT_DLL_EXAMPLEFOMMAPPER MyEntityStateRepInterceptor
00022    : public makVrv::vrvHla13::DtEntityStateInterceptor<DtEntityStateRepository>
00023 {
00024 public:
00025 
00027    virtual void setMass( float mass );
00028 
00030    virtual float mass() const;
00031 
00032 public:
00033 
00035    virtual DtStateRepository* clone(bool copy = false) const;
00036 
00037 protected:
00038 
00039    friend class MyEntityStateRepInterceptorCreator;
00040 
00042    MyEntityStateRepInterceptor( makVrv::vrvHla13::DtVrlinkEntityStateListener* listener );
00043 
00044 protected:
00045 
00046    float myMass;
00047 
00048 };
00049 
00050 
00052 class DT_DLL_EXAMPLEFOMMAPPER MyEntityStateRepInterceptorCreator
00053    : public makVrv::vrvHla13::DtEntityStateInterceptorCreator
00054 {
00055 public:
00056 
00058    MyEntityStateRepInterceptorCreator();
00059 
00061    virtual ~MyEntityStateRepInterceptorCreator();
00062 
00064    virtual DtEntityStateRepository* create(makVrv::vrvHla13::DtVrlinkEntityStateListener* listener);
00065 };

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)