Panda3D
panda
src
tform
mouseWatcherGroup.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 mouseWatcherGroup.h
10
* @author drose
11
* @date 2001-07-02
12
*/
13
14
#ifndef MOUSEWATCHERGROUP_H
15
#define MOUSEWATCHERGROUP_H
16
17
#include "
pandabase.h
"
18
#include "
mouseWatcherBase.h
"
19
#include "
referenceCount.h
"
20
21
/**
22
* This represents a collection of MouseWatcherRegions that may be managed as
23
* a group. The implementation for this is in MouseWatcherBase; this class
24
* exists so that we can inherit from ReferenceCount.
25
*/
26
class
EXPCL_PANDA_TFORM
MouseWatcherGroup
:
public
MouseWatcherBase
,
27
public
ReferenceCount
{
28
public
:
29
INLINE
MouseWatcherGroup
() {};
30
31
PUBLISHED:
32
static
TypeHandle
get_class_type() {
33
return
_type_handle;
34
}
35
36
public
:
37
static
void
init_type() {
38
MouseWatcherBase::init_type();
39
ReferenceCount::init_type();
40
register_type
(_type_handle,
"MouseWatcherGroup"
,
41
MouseWatcherBase::get_class_type(),
42
ReferenceCount::get_class_type());
43
}
44
45
private
:
46
static
TypeHandle
_type_handle;
47
};
48
49
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
MouseWatcherGroup
This represents a collection of MouseWatcherRegions that may be managed as a group.
Definition:
mouseWatcherGroup.h:27
ReferenceCount
A base class for all things that want to be reference-counted.
Definition:
referenceCount.h:38
register_type
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Definition:
register_type.I:22
MouseWatcherBase
This represents a collection of MouseWatcherRegions that may be managed as a group.
Definition:
mouseWatcherBase.h:32
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
referenceCount.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
mouseWatcherBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:07:08 for Panda3D by
1.8.20