OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

GEvent Class Reference

Collaboration diagram for GEvent:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 61 of file GEvent.H.


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

Enumerator:
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.

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.

void setEvent ( XEvent &   ) 

void operator= ( const GEvent &   ) 


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd