Panda3D
panda
src
event
pt_Event.h
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file pt_Event.h
10
* @author drose
11
* @date 2000-05-26
12
*/
13
14
#ifndef PT_EVENT_H
15
#define PT_EVENT_H
16
17
#include "
pandabase.h
"
18
19
#include "
event.h
"
20
21
#include "
pointerTo.h
"
22
23
/**
24
* A PointerTo<Event>. This is defined here solely we can explicitly export
25
* the template class.
26
*/
27
28
EXPORT_TEMPLATE_CLASS
(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT,
PointerToBase<Event>
)
29
EXPORT_TEMPLATE_CLASS
(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT,
PointerTo<Event>
)
30
EXPORT_TEMPLATE_CLASS
(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT,
ConstPointerTo<Event>
)
31
32
typedef
PointerTo<Event>
PT_Event;
33
typedef
ConstPointerTo<Event>
CPT_Event
;
34
35
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PointerToBase
This is the base class for PointerTo and ConstPointerTo.
Definition:
pointerToBase.h:29
event.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPORT_TEMPLATE_CLASS
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerToBase< Event >) EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT
A PointerTo<Event>.
PointerTo
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
Definition:
pointerTo.h:69
ConstPointerTo
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
Definition:
pointerTo.h:144
pointerTo.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:06:51 for Panda3D by
1.8.20