VR-Forces 4.0.4 Class Documentation
examples/exampleHudUpdater/exampleHatchStateUpdater.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2007 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtExampleHudUpdater.h,v $ $Revision: 1.1 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008 
00011 
00012 #ifndef DT_PROTOCOL_NAMESPACE
00013 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
00014 #endif
00015 
00016 #ifndef DtExampleHudUpdater_H_ 
00017 #define DtExampleHudUpdater_H_ 
00018 
00019 #include "exampleHudUpdaterPlugin.h"
00020 
00021 #include <vrvGlStudioShared/DtGlStudioVrlAttributeUpdater.h>
00022 
00023 namespace makVrv 
00024 { 
00025    namespace DT_PROTOCOL_NAMESPACE
00026    {
00027       
00029       class DtGlStudioHatchStateUpdater : public DtGlStudioVrlAttributeUpdater
00030       {
00031          public: 
00032             DtGlStudioHatchStateUpdater();
00033 
00034             virtual ~DtGlStudioHatchStateUpdater();
00035 
00036             virtual void init(DtVrlinkEntityStateListener* listener);
00037             virtual std::string value();
00038 
00039          protected:
00040             virtual void setAppearanceBit(unsigned int oldVal, unsigned int newVal);
00041             unsigned int myHatchState;
00042       };
00043 
00045       class DT_DLL_EXAMPLEHUDUPDATERPLUGIN DtGlStudioHatchStateUpdaterCreator : public DtGlStudioAttributeUpdaterCreator
00046       {
00047       public:
00048          DtGlStudioHatchStateUpdaterCreator();
00049          virtual ~DtGlStudioHatchStateUpdaterCreator();
00050 
00051          virtual DtGlStudioAttributeUpdater* create() const;
00052 
00053       protected:
00054 
00055       };
00056    } //DT_PROTOCOL_NAMESPACE::
00057 } //makVrv::
00058 
00059 #endif

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)