Panda3D
 All Classes Functions Variables Enumerations
AwMouseAndKeyboard.h
1 // Filename: awWebCore.h
2 // Created by: rurbino (12Oct09)
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 #ifndef AWWEBKEYBOARDMOUSE_H
15 #define AWWEBKEYBOARDMOUSE_H
16 
17 #include "pandabase.h"
18 #include "typedReferenceCount.h"
19 #include "luse.h"
20 
21 #include "mouseAndKeyboard.h"
22 
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : AwMouseAndKeyboard
26 // Description : Thin wrappings arround WebCore.h
27 ////////////////////////////////////////////////////////////////////
28 class EXPCL_PANDAAWESOMIUM AwMouseAndKeyboard : public DataNode {
29 //member data data
30 protected:
31  // inputs adn output indices... initialized in constructor
32  int _button_events_input;
33  int _button_events_output;
34 
35 PUBLISHED:
36  AwMouseAndKeyboard(const string &name);
37 
38 protected:
39  // Inherited from DataNode
40  virtual void do_transmit_data(DataGraphTraverser *trav,
41  const DataNodeTransmit &input,
42  DataNodeTransmit &output);
43 
44 public:
45  static TypeHandle get_class_type() {
46  return _type_handle;
47  }
48  static void init_type() {
49  MouseAndKeyboard::init_type();
50  register_type(_type_handle, "AwMouseAndKeyboard",
51  DataNode::get_class_type());
52  }
53  virtual TypeHandle get_type() const {
54  return get_class_type();
55  }
56  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
57 
58 private:
59  static TypeHandle _type_handle;
60 };
61 
62 #endif
Thin wrappings arround WebCore.h.
The fundamental type of node for the data graph.
Definition: dataNode.h:64
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...