-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
GUIEventHandler.cpp
123 lines (117 loc) · 5.91 KB
/
GUIEventHandler.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgGA/GUIEventHandler>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventHandler)
I_DeclaringFile("osgGA/GUIEventHandler");
I_BaseType(osg::NodeCallback);
I_BaseType(osg::Drawable::EventCallback);
I_Constructor0(____GUIEventHandler,
"",
"");
I_Constructor2(IN, const osgGA::GUIEventHandler &, eh, IN, const osg::CopyOp &, x,
____GUIEventHandler__C5_GUIEventHandler_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(void, event, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
"Event traversal drawable callback method. ",
"");
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Handle events, return true if handled, false otherwise. ",
"");
I_Method4(bool, handleWithCheckAgainstIgnoreHandledEventsMask, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, object, IN, osg::NodeVisitor *, nv,
Properties::NON_VIRTUAL,
__bool__handleWithCheckAgainstIgnoreHandledEventsMask__C5_GUIEventAdapter_R1__GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Convnience method that only passes on to the handle(,,,) method events that either haven't been handled yet, or have been handled but haven't be set to be ignored by the IgnoreHandledEventsMask. ",
"Note, this method is an inline method, and not appropriate for users to override, override the handle(,,,) method instead. ");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
Properties::VIRTUAL,
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"Deprecated, Handle events, return true if handled, false otherwise. ",
"");
I_Method2(bool, handleWithCheckAgainstIgnoreHandledEventsMask, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
Properties::NON_VIRTUAL,
__bool__handleWithCheckAgainstIgnoreHandledEventsMask__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
"Convnience method that only passes on to the handle(,) method events that either haven't been handled yet, or have been handled but haven't be set to be ignored by the IgnoreHandledEventsMask. ",
"Note, this method is an inline method, and not appropriate for users to override, override the handle(,) method instead. ");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x,
Properties::VIRTUAL,
__void__getUsage__osg_ApplicationUsage_R1,
"Get the keyboard and mouse usage of this manipulator. ",
"");
I_Method1(void, setIgnoreHandledEventsMask, IN, unsigned int, mask,
Properties::NON_VIRTUAL,
__void__setIgnoreHandledEventsMask__unsigned_int,
"Set a mask of osgGA::GUIEeventAdapter::Event to be ignored if marked as handled. ",
"");
I_Method0(unsigned int, getIgnoreHandledEventsMask,
Properties::NON_VIRTUAL,
__unsigned_int__getIgnoreHandledEventsMask,
"Get the event mask of the osgGA::GUIEeventAdapter::Event to be ignored if marked as handled. ",
"");
I_SimpleProperty(unsigned int, IgnoreHandledEventsMask,
__unsigned_int__getIgnoreHandledEventsMask,
__void__setIgnoreHandledEventsMask__unsigned_int);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgGA::GUIEventHandlerVisitor)
I_DeclaringFile("osgGA/GUIEventHandler");
I_Constructor0(____GUIEventHandlerVisitor,
"",
"");
I_Method1(void, visit, IN, osgGA::GUIEventHandler &, x,
Properties::NON_VIRTUAL,
__void__visit__GUIEventHandler_R1,
"",
"");
END_REFLECTOR