Panda3D
 All Classes Functions Variables Enumerations
mouseWatcherGroup.h
1 // Filename: mouseWatcherGroup.h
2 // Created by: drose (02Jul01)
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 MOUSEWATCHERGROUP_H
16 #define MOUSEWATCHERGROUP_H
17 
18 #include "pandabase.h"
19 #include "mouseWatcherBase.h"
20 #include "referenceCount.h"
21 
22 ////////////////////////////////////////////////////////////////////
23 // Class : MouseWatcherGroup
24 // Description : This represents a collection of MouseWatcherRegions
25 // that may be managed as a group. The implementation
26 // for this is in MouseWatcherBase; this class exists
27 // so that we can inherit from ReferenceCount.
28 ////////////////////////////////////////////////////////////////////
29 class EXPCL_PANDA_TFORM MouseWatcherGroup : public MouseWatcherBase,
30  public ReferenceCount {
31 public:
32  INLINE MouseWatcherGroup() {};
33 
34 PUBLISHED:
35  static TypeHandle get_class_type() {
36  return _type_handle;
37  }
38 
39 public:
40  static void init_type() {
41  MouseWatcherBase::init_type();
42  ReferenceCount::init_type();
43  register_type(_type_handle, "MouseWatcherGroup",
44  MouseWatcherBase::get_class_type(),
45  ReferenceCount::get_class_type());
46  }
47 
48 private:
49  static TypeHandle _type_handle;
50 };
51 
52 #endif
This represents a collection of MouseWatcherRegions that may be managed as a group.
This represents a collection of MouseWatcherRegions that may be managed as a group.
A base class for all things that want to be reference-counted.
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85