Panda3D

pta_LVecBase4.h

00001 // Filename: pta_LVecBase4.h
00002 // Created by:  drose (27Feb10)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 4D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PTA_LVECBASE4_H
00016 #define PTA_LVECBASE4_H
00017 
00018 #include "pandabase.h"
00019 #include "luse.h"
00020 #include "pointerToArray.h"
00021 
00022 ////////////////////////////////////////////////////////////////////
00023 //       Class : PTA_LVecBase4f
00024 // Description : A pta of LVecBase4fs.  This class is defined once here,
00025 //               and exported to PANDA.DLL; other packages that want
00026 //               to use a pta of this type (whether they need to
00027 //               export it or not) should include this header file,
00028 //               rather than defining the pta again.
00029 //
00030 //               We actually wrap UnalignedLVecBase4f, in case we are
00031 //               building with SSE2 and LVecBase4f requires strict
00032 //               alignment.
00033 ////////////////////////////////////////////////////////////////////
00034 
00035 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<UnalignedLVecBase4f> >)
00036 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<UnalignedLVecBase4f>)
00037 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<UnalignedLVecBase4f>)
00038 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<UnalignedLVecBase4f>)
00039 
00040 typedef PointerToArray<UnalignedLVecBase4f> PTA_LVecBase4f;
00041 typedef ConstPointerToArray<UnalignedLVecBase4f> CPTA_LVecBase4f;
00042 
00043 ////////////////////////////////////////////////////////////////////
00044 //       Class : PTA_LVecBase4d
00045 // Description : A pta of LVecBase4ds.  This class is defined once here,
00046 //               and exported to PANDA.DLL; other packages that want
00047 //               to use a pta of this type (whether they need to
00048 //               export it or not) should include this header file,
00049 //               rather than defining the pta again.
00050 //
00051 //               We actually wrap UnalignedLVecBase4d, in case we are
00052 //               building with SSE2 and LVecBase4d requires strict
00053 //               alignment.
00054 ////////////////////////////////////////////////////////////////////
00055 
00056 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<UnalignedLVecBase4d> >)
00057 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<UnalignedLVecBase4d>)
00058 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<UnalignedLVecBase4d>)
00059 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<UnalignedLVecBase4d>)
00060 
00061 typedef PointerToArray<UnalignedLVecBase4d> PTA_LVecBase4d;
00062 typedef ConstPointerToArray<UnalignedLVecBase4d> CPTA_LVecBase4d;
00063 
00064 #ifndef STDFLOAT_DOUBLE
00065 typedef PTA_LVecBase4f PTA_LVecBase4;
00066 typedef CPTA_LVecBase4f CPTA_LVecBase4;
00067 #else
00068 typedef PTA_LVecBase4d PTA_LVecBase4;
00069 typedef CPTA_LVecBase4d CPTA_LVecBase4;
00070 #endif  // STDFLOAT_DOUBLE
00071 
00072 // Bogus typedefs for interrogate and legacy Python code.
00073 #ifdef CPPPARSER
00074 typedef PTA_LVecBase4f PTAVecBase4f;
00075 typedef CPTA_LVecBase4f CPTAVecBase4f;
00076 typedef PTA_LVecBase4d PTAVecBase4d;
00077 typedef CPTA_LVecBase4d CPTAVecBase4d;
00078 #endif  // CPPPARSER
00079 
00080 // Tell GCC that we'll take care of the instantiation explicitly here.
00081 #ifdef __GNUC__
00082 #pragma interface
00083 #endif
00084 
00085 #endif
 All Classes Functions Variables Enumerations