00001 // Filename: linmath_events.h 00002 // Created by: drose (12Mar02) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef LINMATH_EVENTS_H 00020 #define LINMATH_EVENTS_H 00021 00022 #include "pandabase.h" 00023 00024 #include "eventParameter.h" 00025 #include "luse.h" 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // 00029 // This file defines a few more EventStore classes for storing linmath 00030 // objects in an EventParameter. We can't define this with the other 00031 // EventStore classes, because linmath hasn't been defined yet at that 00032 // point. 00033 // 00034 // See eventParameter.h. 00035 // 00036 //////////////////////////////////////////////////////////////////// 00037 00038 00039 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, EventStoreValue<LVecBase2f>); 00040 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, EventStoreValue<LVecBase3f>); 00041 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, EventStoreValue<LMatrix4f>); 00042 00043 typedef EventStoreValue<LVecBase2f> EventStoreVec2; 00044 typedef EventStoreValue<LVecBase3f> EventStoreVec3; 00045 typedef EventStoreValue<LMatrix4f> EventStoreMat4; 00046 00047 00048 // Tell GCC that we'll take care of the instantiation explicitly here. 00049 #ifdef __GNUC__ 00050 #pragma interface 00051 #endif 00052 00053 #endif