Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

GLUI_CB Class Reference

#include <glui.h>

List of all members.


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.


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


Constructor & Destructor Documentation

GLUI_CB::GLUI_CB  )  [inline]
 

GLUI_CB::GLUI_CB GLUI_Update_CB  cb  )  [inline]
 

GLUI_CB::GLUI_CB GLUI_Control_CB  cb  )  [inline]
 


Member Function Documentation

GLUI_CB::operator bool  )  const [inline]
 

bool GLUI_CB::operator!  )  const [inline]
 

void GLUI_CB::operator() GLUI_Control ctrl  )  const
 

This control just activated. Fire our callback.


The documentation for this class was generated from the following files:
Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6