Panda3D
Loading...
Searching...
No Matches
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
28EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerToBase<Event>)
29EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerTo<Event>)
30EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, ConstPointerTo<Event>)
31
32typedef PointerTo<Event> PT_Event;
34
35#endif
A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing.
Definition pointerTo.h:144
This is the base class for PointerTo and ConstPointerTo.
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
Definition pointerTo.h:69
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT, EXPTP_PANDA_EVENT, PointerToBase< Event >) EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_EVENT
A PointerTo<Event>.