reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

#include <ofEvents.h>

Public Member Functions

 ofCoreEvents ()
 
void disable ()
 
void enable ()
 
void setTimeModeSystem ()
 
void setTimeModeFixedRate (uint64_t nanosecsPerFrame)
 
void setTimeModeFiltered (float alpha)
 
void setFrameRate (int _targetRate)
 
float getFrameRate () const
 
float getTargetFrameRate () const
 
double getLastFrameTime () const
 
uint64_t getFrameNum () const
 
bool getMousePressed (int button=-1) const
 
bool getKeyPressed (int key=-1) const
 
int getMouseX () const
 
int getMouseY () const
 
int getPreviousMouseX () const
 
int getPreviousMouseY () const
 
int getModifiers () const
 
bool notifySetup ()
 
bool notifyUpdate ()
 
bool notifyDraw ()
 
bool notifyKeyPressed (int key, int keycode=-1, int scancode=-1, uint32_t codepoint=0)
 
bool notifyKeyReleased (int key, int keycode=-1, int scancode=-1, uint32_t codepoint=0)
 
bool notifyKeyEvent (ofKeyEventArgs &keyEvent)
 
bool notifyMousePressed (int x, int y, int button)
 
bool notifyMouseReleased (int x, int y, int button)
 
bool notifyMouseDragged (int x, int y, int button)
 
bool notifyMouseMoved (int x, int y)
 
bool notifyMouseScrolled (int x, int y, float scrollX, float scrollY)
 
bool notifyMouseEntered (int x, int y)
 
bool notifyMouseExited (int x, int y)
 
bool notifyMouseEvent (ofMouseEventArgs &mouseEvent)
 
void notifyTouchDown (int x, int y, int touchID)
 
void notifyTouchUp (int x, int y, int touchID)
 
void notifyTouchMoved (int x, int y, int touchID)
 
void notifyTouchCancelled (int x, int y, int touchID)
 
void notifyTouchDoubleTap (int x, int y, int touchID)
 
void notifyTouchEvent (ofTouchEventArgs &touchEvent)
 
bool notifyExit ()
 
bool notifyWindowResized (int width, int height)
 
bool notifyWindowMoved (int x, int y)
 
bool notifyDragEvent (ofDragInfo info)
 

Public Attributes

ofEvent< ofEventArgssetup
 
ofEvent< ofEventArgsupdate
 
ofEvent< ofEventArgsdraw
 
ofEvent< ofEventArgsexit
 
ofEvent< ofResizeEventArgswindowResized
 
ofEvent< ofWindowPosEventArgswindowMoved
 
ofEvent< ofKeyEventArgskeyPressed
 
ofEvent< ofKeyEventArgskeyReleased
 
ofEvent< ofMouseEventArgsmouseMoved
 
ofEvent< ofMouseEventArgsmouseDragged
 
ofEvent< ofMouseEventArgsmousePressed
 
ofEvent< ofMouseEventArgsmouseReleased
 
ofEvent< ofMouseEventArgsmouseScrolled
 
ofEvent< ofMouseEventArgsmouseEntered
 
ofEvent< ofMouseEventArgsmouseExited
 
ofEvent< ofTouchEventArgstouchDown
 
ofEvent< ofTouchEventArgstouchUp
 
ofEvent< ofTouchEventArgstouchMoved
 
ofEvent< ofTouchEventArgstouchDoubleTap
 
ofEvent< ofTouchEventArgstouchCancelled
 
ofEvent< ofMessagemessageEvent
 
ofEvent< ofDragInfofileDragEvent
 
ofEvent< uint32_t > charEvent
 

Constructor & Destructor Documentation

◆ ofCoreEvents()

ofCoreEvents::ofCoreEvents ( )

Member Function Documentation

◆ disable()

void ofCoreEvents::disable ( )

◆ enable()

void ofCoreEvents::enable ( )

◆ getFrameNum()

uint64_t ofCoreEvents::getFrameNum ( ) const

◆ getFrameRate()

float ofCoreEvents::getFrameRate ( ) const

◆ getKeyPressed()

bool ofCoreEvents::getKeyPressed ( int  key = -1) const

◆ getLastFrameTime()

double ofCoreEvents::getLastFrameTime ( ) const

◆ getModifiers()

int ofCoreEvents::getModifiers ( ) const

◆ getMousePressed()

bool ofCoreEvents::getMousePressed ( int  button = -1) const

◆ getMouseX()

int ofCoreEvents::getMouseX ( ) const

◆ getMouseY()

int ofCoreEvents::getMouseY ( ) const

◆ getPreviousMouseX()

int ofCoreEvents::getPreviousMouseX ( ) const

◆ getPreviousMouseY()

int ofCoreEvents::getPreviousMouseY ( ) const

◆ getTargetFrameRate()

float ofCoreEvents::getTargetFrameRate ( ) const

◆ notifyDragEvent()

bool ofCoreEvents::notifyDragEvent ( ofDragInfo  info)

◆ notifyDraw()

bool ofCoreEvents::notifyDraw ( )

◆ notifyExit()

bool ofCoreEvents::notifyExit ( )

◆ notifyKeyEvent()

bool ofCoreEvents::notifyKeyEvent ( ofKeyEventArgs keyEvent)

◆ notifyKeyPressed()

bool ofCoreEvents::notifyKeyPressed ( int  key,
int  keycode = -1,
int  scancode = -1,
uint32_t  codepoint = 0 
)

◆ notifyKeyReleased()

bool ofCoreEvents::notifyKeyReleased ( int  key,
int  keycode = -1,
int  scancode = -1,
uint32_t  codepoint = 0 
)

◆ notifyMouseDragged()

bool ofCoreEvents::notifyMouseDragged ( int  x,
int  y,
int  button 
)

◆ notifyMouseEntered()

bool ofCoreEvents::notifyMouseEntered ( int  x,
int  y 
)

◆ notifyMouseEvent()

bool ofCoreEvents::notifyMouseEvent ( ofMouseEventArgs mouseEvent)

◆ notifyMouseExited()

bool ofCoreEvents::notifyMouseExited ( int  x,
int  y 
)

◆ notifyMouseMoved()

bool ofCoreEvents::notifyMouseMoved ( int  x,
int  y 
)

◆ notifyMousePressed()

bool ofCoreEvents::notifyMousePressed ( int  x,
int  y,
int  button 
)

◆ notifyMouseReleased()

bool ofCoreEvents::notifyMouseReleased ( int  x,
int  y,
int  button 
)

◆ notifyMouseScrolled()

bool ofCoreEvents::notifyMouseScrolled ( int  x,
int  y,
float  scrollX,
float  scrollY 
)

◆ notifySetup()

bool ofCoreEvents::notifySetup ( )

◆ notifyTouchCancelled()

void ofCoreEvents::notifyTouchCancelled ( int  x,
int  y,
int  touchID 
)

◆ notifyTouchDoubleTap()

void ofCoreEvents::notifyTouchDoubleTap ( int  x,
int  y,
int  touchID 
)

◆ notifyTouchDown()

void ofCoreEvents::notifyTouchDown ( int  x,
int  y,
int  touchID 
)

◆ notifyTouchEvent()

void ofCoreEvents::notifyTouchEvent ( ofTouchEventArgs touchEvent)

◆ notifyTouchMoved()

void ofCoreEvents::notifyTouchMoved ( int  x,
int  y,
int  touchID 
)

◆ notifyTouchUp()

void ofCoreEvents::notifyTouchUp ( int  x,
int  y,
int  touchID 
)

◆ notifyUpdate()

bool ofCoreEvents::notifyUpdate ( )

◆ notifyWindowMoved()

bool ofCoreEvents::notifyWindowMoved ( int  x,
int  y 
)

◆ notifyWindowResized()

bool ofCoreEvents::notifyWindowResized ( int  width,
int  height 
)

◆ setFrameRate()

void ofCoreEvents::setFrameRate ( int  _targetRate)

◆ setTimeModeFiltered()

void ofCoreEvents::setTimeModeFiltered ( float  alpha)

◆ setTimeModeFixedRate()

void ofCoreEvents::setTimeModeFixedRate ( uint64_t  nanosecsPerFrame)

◆ setTimeModeSystem()

void ofCoreEvents::setTimeModeSystem ( )

Member Data Documentation

◆ charEvent

ofEvent<uint32_t> ofCoreEvents::charEvent

◆ draw

ofEvent<ofEventArgs> ofCoreEvents::draw

◆ exit

ofEvent<ofEventArgs> ofCoreEvents::exit

◆ fileDragEvent

ofEvent<ofDragInfo> ofCoreEvents::fileDragEvent

◆ keyPressed

ofEvent<ofKeyEventArgs> ofCoreEvents::keyPressed

◆ keyReleased

ofEvent<ofKeyEventArgs> ofCoreEvents::keyReleased

◆ messageEvent

ofEvent<ofMessage> ofCoreEvents::messageEvent

◆ mouseDragged

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseDragged

◆ mouseEntered

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseEntered

◆ mouseExited

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseExited

◆ mouseMoved

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseMoved

◆ mousePressed

ofEvent<ofMouseEventArgs> ofCoreEvents::mousePressed

◆ mouseReleased

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseReleased

◆ mouseScrolled

ofEvent<ofMouseEventArgs> ofCoreEvents::mouseScrolled

◆ setup

ofEvent<ofEventArgs> ofCoreEvents::setup

◆ touchCancelled

ofEvent<ofTouchEventArgs> ofCoreEvents::touchCancelled

◆ touchDoubleTap

ofEvent<ofTouchEventArgs> ofCoreEvents::touchDoubleTap

◆ touchDown

ofEvent<ofTouchEventArgs> ofCoreEvents::touchDown

◆ touchMoved

ofEvent<ofTouchEventArgs> ofCoreEvents::touchMoved

◆ touchUp

ofEvent<ofTouchEventArgs> ofCoreEvents::touchUp

◆ update

ofEvent<ofEventArgs> ofCoreEvents::update

◆ windowMoved

ofEvent<ofWindowPosEventArgs> ofCoreEvents::windowMoved

◆ windowResized

ofEvent<ofResizeEventArgs> ofCoreEvents::windowResized

The documentation for this class was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/events/ofEvents.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/events/ofEvents.cpp