OpenGLPrakt --> events --> cEvent

class cEvent

an event class

Source:
../src/cEvent.hh:55

Friends:
 friend ostream & operator << ( ostream & os , const cEvent & ev ) ;

Constructors Index

cEvent
[public] default constructor
~cEvent
[public] default destructor


Variables Index

mName
[protected]


Methods Index

Clone
[public] clone this object (allocate a new one)
GetName
[public]
operator <
[public] operator < for cEvents - it compares the name strings
operator ==
[public] operator == for cEvents - it returns true if they're of the same type(name)


Constructors

cEvent

public cEvent ( const string & type = "cEvent" ) ;

default constructor

Parameters:
type const string reference to type/name of event The type is used to identify an event.

cEvent

public virtual ~ cEvent ( ) ;

default destructor


Variables

mName

protected string mName


Methods

Clone

public virtual cEvent * Clone ( ) const ;

clone this object (allocate a new one)

operator ==

public const bool operator == ( const cEvent & e ) const ;

operator == for cEvents - it returns true if they're of the same type(name)

operator <

public const bool operator < ( const cEvent & e ) const ;

operator < for cEvents - it compares the name strings

GetName

public virtual const string & GetName ( ) const ;


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.