Panda3D
 All Classes Functions Variables Enumerations
pt_EggMaterial.h
1 // Filename: pt_EggMaterial.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_EGGMATERIAL_H
16 #define PT_EGGMATERIAL_H
17 
18 #include "pandabase.h"
19 
20 #include "eggMaterial.h"
21 #include "pointerTo.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PT_EggMaterial
25 // Description : A PT(EggMaterial). 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<EggMaterial>)
31 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, PointerTo<EggMaterial>)
32 EXPORT_TEMPLATE_CLASS(EXPCL_PANDAEGG, EXPTP_PANDAEGG, ConstPointerTo<EggMaterial>)
33 
34 typedef PointerTo<EggMaterial> PT_EggMaterial;
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