Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::graphics::gui::objects::GraphView::Delegate Class Reference

A class that contains function objects that recieve GraphView events. More...

#include <omGraphicsGUIGraphView.h>

Public Attributes

Function< void(GraphView &graphView, Index seriesIndex, ArrayList< Vector2f > &points)> updateSeries
 A callback function called when an attached graph view needs to update the visible data points for a series. More...
 
Function< Bool(GraphView &graphView, const KeyEvent &keyEvent)> keyEvent
 A function object called whenever an attached graph view receives a keyboard event. More...
 
Function< Bool(GraphView &graphView, const MouseButtonEvent &mouseButtonEvent)> mouseButtonEvent
 A function object called whenever an attached graph view receives a mouse-button event. More...
 
Function< Bool(GraphView &graphView, const MouseMotionEvent &mouseMotionEvent)> mouseMotionEvent
 A function object called whenever an attached graph view receives a mouse-motion event. More...
 
Function< Bool(GraphView &graphView, const MouseWheelEvent &mouseWheelEvent)> mouseWheelEvent
 A function object called whenever an attached graph view receives a mouse-wheel event. More...
 
UserData data
 An object that stores an opaque pointer to delegate data. More...
 

Detailed Description

A class that contains function objects that recieve GraphView events.

Any render-view-related event that might be processed has an appropriate callback function object. Each callback function is called by the button whenever such an event is received. If a callback function in the delegate is not initialized, a render view ignores it.

Member Data Documentation

Function<void ( GraphView& graphView, Index seriesIndex, ArrayList<Vector2f>& points )> om::graphics::gui::objects::GraphView::Delegate::updateSeries

A callback function called when an attached graph view needs to update the visible data points for a series.

The implementor should modify the specified list of points so that they reflect the currently visible set of points for the graph view's current visible range.

Function<Bool ( GraphView& graphView, const KeyEvent& keyEvent )> om::graphics::gui::objects::GraphView::Delegate::keyEvent

A function object called whenever an attached graph view receives a keyboard event.

Function<Bool ( GraphView& graphView, const MouseButtonEvent& mouseButtonEvent )> om::graphics::gui::objects::GraphView::Delegate::mouseButtonEvent

A function object called whenever an attached graph view receives a mouse-button event.

Function<Bool ( GraphView& graphView, const MouseMotionEvent& mouseMotionEvent )> om::graphics::gui::objects::GraphView::Delegate::mouseMotionEvent

A function object called whenever an attached graph view receives a mouse-motion event.

Function<Bool ( GraphView& graphView, const MouseWheelEvent& mouseWheelEvent )> om::graphics::gui::objects::GraphView::Delegate::mouseWheelEvent

A function object called whenever an attached graph view receives a mouse-wheel event.

UserData om::graphics::gui::objects::GraphView::Delegate::data

An object that stores an opaque pointer to delegate data.


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