GLUI_CB Class Reference

#include <glui.h>

List of all members.

Public Member Functions

 GLUI_CB ()
 GLUI_CB (GLUI_Update_CB cb)
 GLUI_CB (GLUI_Control_CB cb)
void operator() (GLUI_Control *ctrl) const
bool operator! () const
 operator bool () const


Detailed Description

Callback Adapter Class Allows us to support different types of callbacks; like a GLUI_Update_CB function pointer--which takes an int; and a GLUI_Control_CB function pointer--which takes a GUI_Control object.

Definition at line 294 of file glui.h.


Constructor & Destructor Documentation

GLUI_CB::GLUI_CB (  )  [inline]

Definition at line 297 of file glui.h.

GLUI_CB::GLUI_CB ( GLUI_Update_CB  cb  )  [inline]

Definition at line 298 of file glui.h.

GLUI_CB::GLUI_CB ( GLUI_Control_CB  cb  )  [inline]

Definition at line 299 of file glui.h.


Member Function Documentation

void GLUI_CB::operator() ( GLUI_Control ctrl  )  const

This control just activated. Fire our callback.

bool GLUI_CB::operator! (  )  const [inline]

Definition at line 304 of file glui.h.

GLUI_CB::operator bool (  )  const [inline]

Definition at line 305 of file glui.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 30 11:04:40 2007 for SPRING Mac by  doxygen 1.5.3