
00001 //***************************************************************************** 00002 // File : gzDynAttributeUpdateInfo.h 00003 // Module : gzDynamics 00004 // Description : Definition of event sink 00005 // Author : Anders Modén 00006 // Product : GizmoDynamics 2.5.4 00007 // 00008 // Copyright © 2004 - Saab Training Systems AB, Sweden 00009 // 00010 // NOTE: GizmoDynamics is a toolkit used for dynamic updates (events <-> objects) 00011 // in GizmoDistribution 00012 // 00013 // 00014 // Revision History... 00015 // 00016 // Who Date Description 00017 // 00018 // AMO 060315 Created file 00019 // 00020 //****************************************************************************** 00021 #ifndef __GZ_DYN_ATTRIBUTE_UPDATE_INFO_H__ 00022 #define __GZ_DYN_ATTRIBUTE_UPDATE_INFO_H__ 00023 00024 #include "gzDynUpdateInterface.h" 00025 00026 class gzDynAttributeUpdateInfo : public gzReference 00027 { 00028 public: 00029 GZ_DYN_EXPORT gzDynAttributeUpdateInfo(); 00030 GZ_DYN_EXPORT virtual ~gzDynAttributeUpdateInfo(); 00031 00032 GZ_DYN_EXPORT const gzDouble & getUpdateTime(); 00033 GZ_DYN_EXPORT gzVoid setUpdateTime(const gzDouble &time); 00034 GZ_DYN_EXPORT gzVoid reset(); 00035 00036 GZ_DYN_EXPORT const gzDynamicType &getValue(); 00037 GZ_DYN_EXPORT gzVoid setValue(const gzDynamicType &value); 00038 00039 private: 00040 00041 gzDouble m_updateTime; 00042 gzDynamicType m_value; 00043 }; 00044 00045 #endif //__GZ_DYN_ATTRIBUTE_UPDATE_INFO_H__