Equalizer  2.1.0
Parallel Rendering Framework
eq::NotifierInterface Class Referenceabstract

A base class for notifying errors and events. More...

#include <notifierInterface.h>

+ Inheritance diagram for eq::NotifierInterface:
+ Collaboration diagram for eq::NotifierInterface:

Public Member Functions

virtual EventOCommand sendError (const uint32_t error)=0
 Send an error event to the application node. More...
 
virtual bool processEvent (EventType type, SizeEvent &event)=0
 Process a received event. More...
 
virtual bool processEvent (EventType type, PointerEvent &event)=0
 
virtual bool processEvent (EventType type, KeyEvent &event)=0
 
virtual bool processEvent (AxisEvent &event)=0
 
virtual bool processEvent (ButtonEvent &event)=0
 
virtual bool processEvent (EventType type)=0
 stateless event
 

Detailed Description

A base class for notifying errors and events.

Definition at line 26 of file notifierInterface.h.

Member Function Documentation

virtual bool eq::NotifierInterface::processEvent ( EventType  type,
SizeEvent &  event 
)
pure virtual

Process a received event.

The task of this method is to update this object as necessary, and send it to the application using Config::sendEvent() if needed.

Parameters
typethe event type.
eventthe received event.
Returns
true when the event was handled, false if not.

Implemented in eq::Window.

virtual EventOCommand eq::NotifierInterface::sendError ( const uint32_t  error)
pure virtual

Send an error event to the application node.

Parameters
errorthe error code.
Version
1.7.2

Implemented in eq::Window.


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