OpenGLPrakt --> events --> cEvent --> cAddressEvent

class cAddressEvent
    extends cEvent as public

a cNamedEvent with a payload (an address)

Source:
../src/cAddressEvent.hh:19

Constructors Index

cAddressEvent
[public] constructor which takes the event's name
cAddressEvent
[public] copy constructor
~cAddressEvent
[public] destructor


Variables Index

mAddress
[protected] the address to transport


Methods Index

Clone
[public] clone function
GetAddress
[public] allow accessing the payload


Constructors

cAddressEvent

public cAddressEvent ( const string & name = "cAddressEvent" ,
                       void * address = NULL ) ;

constructor which takes the event's name

Parameters:
name string which contains the event's name
address void ptr

cAddressEvent

public cAddressEvent ( const cAddressEvent & e ) ;

copy constructor

cAddressEvent

public virtual ~ cAddressEvent ( ) ;

destructor


Variables

mAddress

protected void * mAddress

the address to transport


Methods

Clone

public virtual cAddressEvent * Clone ( ) const ;

clone function

Return:
pointer to new allocated cAddressEvent

GetAddress

public virtual void * GetAddress ( ) const ;

allow accessing the payload

Return:
const reference to cVertex containing the payload

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.