OpenGLPrakt --> events --> cEventProducer

class cEventProducer

an abstract event producer class

When destroying an cEventDispatcher, take care to destroy all producers first which send their events to it!

Source:
../src/cEventProducer.hh:26

See Also:
cEventDispatcher

Constructors Index

cEventProducer
[public] default constructor
~cEventProducer
[public] destructor


Variables Index

mDispatcher
[protected]


Methods Index

SendEvent
[public] method to send an event This is more a convenience function. (might be called by inherited functions to get rid of their event)


Constructors

cEventProducer

public cEventProducer ( cEventDispatcher * disp ) ;

default constructor

Parameters:
disp pointer to cEventDispatcher object which will receive the produced events via SendEvent()

cEventProducer

public virtual ~ cEventProducer ( ) ;

destructor


Variables

mDispatcher

protected cEventDispatcher * mDispatcher


Methods

SendEvent

public virtual void SendEvent ( const cEvent & event ) ;

method to send an event This is more a convenience function. (might be called by inherited functions to get rid of their event)

Parameters:
event cEvent (or derived) object to send

This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.