Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
cinder::app::Event Class Reference

Base class for all Events. More...

#include <Event.h>

Inheritance diagram for cinder::app::Event:
[legend]

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. More...
 
void setHandled (bool handled=true)
 Marks the event as handled, terminating the normal iteration of the event's slots. More...
 
WindowRef getWindow () const
 Returns the Window in which the MouseEvent occurred. More...
 
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

bool cinder::app::Event::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 cinder::app::Event::setHandled ( bool  handled = true)

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

WindowRef cinder::app::Event::getWindow ( ) const

Returns the Window in which the MouseEvent occurred.

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

Member Data Documentation

bool cinder::app::Event::mHandled
WindowRef cinder::app::Event::mWindow

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