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

Private Attributes

GLUI_Update_CB idCB
GLUI_Control_CB objCB


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.

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Tue Jan 20 23:44:13 2009 for FlowVis by  doxygen 1.5.7.1