Osiris Framework  0.3
OEvent Class Reference

Base event class. More...

#include <OsirisSDK/OEvent.h>

Inheritance diagram for OEvent:
OMemoryPoolEvent OKeyboardPressEvent OMouseClickEvent OMouseMoveEvent OResizeEvent

Public Types

enum  EventType {
  KeyboardPressEvent =1000, KeyboardReleaseEvent, MouseClickEvent, MouseActiveMoveEvent,
  MousePassiveMoveEvent, ResizeEvent
}
 

Public Member Functions

 OEvent (EventType type)
 Class constructor. More...
 
virtual ~OEvent ()
 Class destructor.
 
EventType type () const
 Returns event type.
 

Detailed Description

Base event class.

Member Enumeration Documentation

Enumerator
KeyboardPressEvent 

Keyboard press event. Issues an OKeyboardPressEvent class object.

KeyboardReleaseEvent 

Keyboard release event. Issues an OKeyboardPressEvent class object.

MouseClickEvent 

Mouse click event. Issues an OMouseClickEvent.

MouseActiveMoveEvent 

Mouse movement event with button pressed. Issues an OMouseMove class object.

MousePassiveMoveEvent 

Passive mouse movement event. Issues an OMouseMove class object.

ResizeEvent 

Screen resize event. Issues an OResizeEvent class object.

Constructor & Destructor Documentation

OEvent::OEvent ( OEvent::EventType  type)

Class constructor.

Parameters
typeEvent type.

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