Public Member Functions | Public Attributes | Protected Member Functions
cinder::app::Event Class Reference

Base class for all Events. More...

#include <Event.h>

Inherited by cinder::app::FileDropEvent, cinder::app::KeyEvent, cinder::app::MouseEvent, and cinder::app::TouchEvent.

List of all members.

Public Member Functions

bool isHandled () const
 Returns whether this event has been marked as handled by one of its slots, terminating the normal iteration of the event's slots.
void setHandled (bool handled=true)
 Marks the event as handled, terminating the normal iteration of the event's slots.
WindowRef getWindow () const
 Returns the Window in which the MouseEvent occurred.
void setWindow (const WindowRef &window)
virtual ~Event ()

Public Attributes

bool mHandled
WindowRef mWindow

Protected Member Functions

 Event ()
 Event (WindowRef window)

Detailed Description

Base class for all Events.


Constructor & Destructor Documentation

cinder::app::Event::Event ( ) [protected]
cinder::app::Event::Event ( WindowRef  window) [protected]
virtual cinder::app::Event::~Event ( ) [virtual]

Member Function Documentation

Returns whether this event has been marked as handled by one of its slots, terminating the normal iteration of the event's slots.

void cinder::app::Event::setHandled ( bool  handled = true)

Marks the event as handled, terminating the normal iteration of the event's slots.

Returns the Window in which the MouseEvent occurred.

void cinder::app::Event::setWindow ( const WindowRef window)

Member Data Documentation

Reimplemented in cinder::app::KeyEvent.


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