OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
osgWidget::Event Class Reference

#include <EventInterface.h>

Collaboration diagram for osgWidget::Event:
Collaboration graph
[legend]

Public Member Functions

 Event (WindowManager *wm, EventType _type=EVENT_NONE)
 
EventmakeType (EventType _type)
 
EventmakeMouse (double _x, double _y, EventType _type=EVENT_NONE)
 
EventmakeKey (int _key, int _keyMask, EventType _type=EVENT_NONE)
 
WindowManagergetWindowManager ()
 
const WindowManagergetWindowManager () const
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
WidgetgetWidget ()
 
const WidgetgetWidget () const
 
void * getData ()
 
const void * getData () const
 
void setData (void *data)
 

Public Attributes

EventType type
 
double x
 
double y
 
int key
 
int keyMask
 

Protected Attributes

WindowManager_wm
 
Window_window
 
Widget_widget
 
void * _data
 

Friends

class WindowManager
 
class Window
 

Detailed Description

Definition at line 60 of file EventInterface.h.

Constructor & Destructor Documentation

osgWidget::Event::Event ( WindowManager wm,
EventType  _type = EVENT_NONE 
)
inline

Definition at line 69 of file EventInterface.h.

Member Function Documentation

void* osgWidget::Event::getData ( )
inline

Definition at line 127 of file EventInterface.h.

const void* osgWidget::Event::getData ( ) const
inline

Definition at line 131 of file EventInterface.h.

Widget* osgWidget::Event::getWidget ( )
inline

Definition at line 119 of file EventInterface.h.

const Widget* osgWidget::Event::getWidget ( ) const
inline

Definition at line 123 of file EventInterface.h.

Window* osgWidget::Event::getWindow ( )
inline

Definition at line 111 of file EventInterface.h.

const Window* osgWidget::Event::getWindow ( ) const
inline

Definition at line 115 of file EventInterface.h.

WindowManager* osgWidget::Event::getWindowManager ( )
inline

Definition at line 105 of file EventInterface.h.

Here is the caller graph for this function:

const WindowManager* osgWidget::Event::getWindowManager ( ) const
inline

Definition at line 107 of file EventInterface.h.

Event& osgWidget::Event::makeKey ( int  _key,
int  _keyMask,
EventType  _type = EVENT_NONE 
)
inline

Definition at line 96 of file EventInterface.h.

Event& osgWidget::Event::makeMouse ( double  _x,
double  _y,
EventType  _type = EVENT_NONE 
)
inline

Definition at line 87 of file EventInterface.h.

Event& osgWidget::Event::makeType ( EventType  _type)
inline

Definition at line 81 of file EventInterface.h.

void osgWidget::Event::setData ( void *  data)
inline

Definition at line 135 of file EventInterface.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class Window
friend

Definition at line 142 of file EventInterface.h.

friend class WindowManager
friend

Definition at line 141 of file EventInterface.h.

Member Data Documentation

void* osgWidget::Event::_data
protected

Definition at line 147 of file EventInterface.h.

Widget* osgWidget::Event::_widget
protected

Definition at line 146 of file EventInterface.h.

Window* osgWidget::Event::_window
protected

Definition at line 145 of file EventInterface.h.

WindowManager* osgWidget::Event::_wm
protected

Definition at line 144 of file EventInterface.h.

int osgWidget::Event::key

Definition at line 66 of file EventInterface.h.

int osgWidget::Event::keyMask

Definition at line 67 of file EventInterface.h.

EventType osgWidget::Event::type

Definition at line 63 of file EventInterface.h.

double osgWidget::Event::x

Definition at line 64 of file EventInterface.h.

double osgWidget::Event::y

Definition at line 65 of file EventInterface.h.


The documentation for this class was generated from the following file: