Panda3D
pt_EggTexture.h
1 // Filename: pt_EggTexture.h
2 // Created by: drose (01May01)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef PT_EGGTEXTURE_H
16 #define PT_EGGTEXTURE_H
17 
18 #include "pandabase.h"
19 
20 #include "eggTexture.h"
21 #include "pointerTo.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PT_EggTexture
25 // Description : A PT(EggTexture). This is defined here solely we can
26 // explicitly export the template class. It's not
27 // strictly necessary, but it doesn't hurt.
28 ////////////////////////////////////////////////////////////////////
29 
30 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, PointerToBase<EggTexture>)
31 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, PointerTo<EggTexture>)
32 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, ConstPointerTo<EggTexture>)
33 
34 typedef PointerTo<EggTexture> PT_EggTexture;
36 
37 // Tell GCC that we'll take care of the instantiation explicitly here.
38 #ifdef __GNUC__
39 #pragma interface
40 #endif
41 
42 #endif
This is the base class for PointerTo and ConstPointerTo.
Definition: pointerToBase.h:32
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing...
Definition: pointerTo.h:144
PointerTo is a template class which implements a smart pointer to an object derived from ReferenceCou...
Definition: pointerTo.h:79