LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::PopUpCallback Class Reference

Base class for PopUpCallbacks. More...

#include <wrapper.h>

+ Inheritance diagram for lwpp::PopUpCallback:

List of all members.

Public Member Functions

 PopUpCallback ()
virtual ~PopUpCallback ()
const char * GetSelectedName ()

Static Public Member Functions

static int PopCount (void *inst)
 PopCount callback for LightWave.
static const char * PopName (void *inst, int n)
 PopUpName name callback for LightWave.

Protected Member Functions

virtual size_t popCount ()=0
 Actual worker function to be supplied by the deriving class.
virtual const char * popName (int n)=0
 Actual worker function to be supplied by the deriving class.

Protected Attributes

int index

Detailed Description

Base class for PopUpCallbacks.

Derive classes from this that use PopCount/PopName callbacks. This class provides the "static clall back" -> "member function" translation to interface with LW.

Note:
Make sure the LWInstance passed to the function is a pointer to the derived class.

Constructor & Destructor Documentation

lwpp::PopUpCallback::PopUpCallback ( )
inline
virtual lwpp::PopUpCallback::~PopUpCallback ( )
inlinevirtual

Member Function Documentation

const char* lwpp::PopUpCallback::GetSelectedName ( )
inline
virtual size_t lwpp::PopUpCallback::popCount ( )
protectedpure virtual
static int lwpp::PopUpCallback::PopCount ( void *  inst)
inlinestatic

PopCount callback for LightWave.

virtual const char* lwpp::PopUpCallback::popName ( int  n)
protectedpure virtual
static const char* lwpp::PopUpCallback::PopName ( void *  inst,
int  n 
)
inlinestatic

PopUpName name callback for LightWave.


Member Data Documentation

int lwpp::PopUpCallback::index
protected

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