![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtFireInteractionStateObject.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtFireInteractionStateObject_H_ 00014 #define DtFireInteractionStateObject_H_ 00015 00016 #include <vrvCore/vrvCore.h> 00017 #include <vrvCore/DtSimStateObject.h> 00018 #include <vrvCore/DtFireInteractionState.h> 00019 00020 namespace makVrv 00021 { 00025 class DT_DLL_VRVCORE DtFireInteractionStateObject : public DtSimStateObject 00026 { 00027 00028 public: 00029 00031 DtFireInteractionStateObject(DtDe& de, DtUniqueID id); 00032 00034 virtual ~DtFireInteractionStateObject(); 00035 00037 void setState(DtFireInteractionState& state) 00038 { 00039 DtFireInteractionState* myFireInteractionState = dynamic_cast<DtFireInteractionState*>(myState); 00040 if(myFireInteractionState) 00041 { 00042 *myFireInteractionState = state; 00043 00049 } 00050 } 00051 }; 00052 } 00053 00054 #endif 00055