ubit
Public Member Functions | Protected Attributes | List of all members
ubit::UEvent Class Reference

Ubit Event class. More...

#include <uevent.hpp>

Inheritance diagram for ubit::UEvent:
ubit::UInputEvent ubit::UMessageEvent ubit::USysWMEvent ubit::UTimerEvent ubit::UUserEvent ubit::UViewEvent ubit::UWinEvent ubit::UKeyEvent ubit::UMouseEvent ubit::UPaintEvent ubit::UResizeEvent ubit::UWheelEvent

Public Member Functions

 UEvent (const UCond &c, UObject *source, UObject *aux=null)
 
const UCondgetCond () const
 returns the event condition that detected this event. More...
 
virtual UObjectgetSource () const
 returns the object that received this event.
 
virtual UObjectgetAux () const
 returns auxilliary data.
 
virtual UInputEventtoInputEvent ()
 dynamic cast: returns 'this' converted to the requested class or null.
 
virtual UMouseEventtoMouseEvent ()
 
virtual UKeyEventtoKeyEvent ()
 
virtual UWheelEventtoWheelEvent ()
 
virtual UViewEventtoViewEvent ()
 
virtual UPaintEventtoPaintEvent ()
 
virtual UResizeEventtoResizeEvent ()
 
virtual UTimerEventtoTimerEvent ()
 
virtual UWinEventtoWinEvent ()
 
virtual UMessageEventtoMessageEvent ()
 
virtual USysWMEventtoSysWMEvent ()
 
virtual UUserEventtoUserEvent ()
 
void setCond (const UCond &)
 

Protected Attributes

const UCondcond
 
UObjectsource
 
UObjectaux
 

Detailed Description

Ubit Event class.

note that this class inherits from class UModifier that defines modifier masks such as LeftButton, RightButton, etc.

Member Function Documentation

§ getCond()

const UCond& ubit::UEvent::getCond ( ) const
inline

returns the event condition that detected this event.

e.g.: returns 'UOn::change' if the expression was: UOn::change / ucall(...)


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