OpenFOAM logo
Open Source CFD Toolkit

GEvent Class Reference

Collaboration diagram for GEvent:

Collaboration graph
[legend]
List of all members.

Public Types

enum  eventType { NONE, BPRESS, KPRESS }

Public Member Functions

 GEvent ()
 Construct null.
 GEvent (XEvent &)
 Construct from components.
 GEvent (const GEvent &)
 Construct as copy.
 ~GEvent ()
bool didItHappen () const
eventType whatHappened () const
label whichButton () const
word whichKey () const
void setEvent (XEvent &)
void operator= (const GEvent &)

Member Enumeration Documentation

enum eventType
 

Enumeration values:
NONE 
BPRESS 
KPRESS 

Definition at line 66 of file GEvent.H.


Constructor & Destructor Documentation

GEvent  ) 
 

Construct null.

GEvent XEvent &   ) 
 

Construct from components.

GEvent const GEvent  ) 
 

Construct as copy.

~GEvent  ) 
 


Member Function Documentation

bool didItHappen  )  const [inline]
 

Definition at line 126 of file GEvent.H.

void operator= const GEvent  ) 
 

void setEvent XEvent &   ) 
 

GEvent::eventType whatHappened  )  const [inline]
 

Definition at line 131 of file GEvent.H.

label whichButton  )  const [inline]
 

Definition at line 136 of file GEvent.H.

word whichKey  )  const [inline]
 

Definition at line 141 of file GEvent.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org