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

Wrapper for LWXPanelFuncs. More...

#include <xpanel.h>

+ Inheritance diagram for lwpp::XPanelFuncs:
+ Collaboration diagram for lwpp::XPanelFuncs:

List of all members.

Public Member Functions

 XPanelFuncs ()
virtual bool available () const
 Check if the global is available.
void Destroy (LWXPanelID lwxpanel)
virtual LWXPanelFuncs * getGlobal ()
 Get the pointer to the global.
LWXPanelFuncs * operator-> ()
 Get the pointer to the global.

Static Public Member Functions

static LWXPanelID Create (int type, LWXPanelControl *ctrlDesc=0)
static void Describe (LWXPanelID lwxpanel, LWXPanelDataDesc *ddesc, LWXPanelGetFunc *getf=0, LWXPanelSetFunc *setf=0)
static void * formGet (LWXPanelID lwxpanel, unsigned long id)
static void formSet (LWXPanelID lwxpanel, unsigned long id, void *data)
static LWXPDrawFuncs * getDrawFuncs ()
static float getFormFloat (LWXPanelID lwxpanel, unsigned long id)
static int getFormInt (LWXPanelID lwxpanel, unsigned long id)
static char * getFormString (LWXPanelID lwxpanel, unsigned long id)
static void * getUserData (LWXPanelID lwxpanel, unsigned long id=0)
 Get user data.
static int getVersion ()
static void Hint (LWXPanelID lwxpanel, LWXPanelHint *hint, unsigned long ctl=0)
static int Open (LWXPanelID lwxpanel)
static int Post (LWXPanelID lwxpanel)
static void setForm (LWXPanelID lwxpanel, unsigned long id, long data)
static void setForm (LWXPanelID lwxpanel, unsigned long id, float data)
static void setForm (LWXPanelID lwxpanel, unsigned long id, char *data)
static void setForm (LWXPanelID lwxpanel, unsigned long id, const char *data)
static void setUserData (LWXPanelID lwxpanel, void *data, unsigned long id=0)
 Set user data.
static void ViewInst (LWXPanelID lwxpanel, void *inst)
static void ViewRefresh (LWXPanelID lwxpanel)

Protected Member Functions

bool _acquireGlobal ()

Static Protected Attributes

static LWXPanelFuncs * globPtr
 Pointer to the global functions.

Detailed Description

Wrapper for LWXPanelFuncs.


Constructor & Destructor Documentation

lwpp::XPanelFuncs::XPanelFuncs ( )
inline

Member Function Documentation

bool lwpp::GlobalBase< LWXPanelFuncs >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWXPanelFuncs >::available ( ) const
inlinevirtualinherited

Check if the global is available.

static LWXPanelID lwpp::XPanelFuncs::Create ( int  type,
LWXPanelControl *  ctrlDesc = 0 
)
inlinestatic
static void lwpp::XPanelFuncs::Describe ( LWXPanelID  lwxpanel,
LWXPanelDataDesc *  ddesc,
LWXPanelGetFunc *  getf = 0,
LWXPanelSetFunc *  setf = 0 
)
inlinestatic
void lwpp::XPanelFuncs::Destroy ( LWXPanelID  lwxpanel)
inline
static void* lwpp::XPanelFuncs::formGet ( LWXPanelID  lwxpanel,
unsigned long  id 
)
inlinestatic
static void lwpp::XPanelFuncs::formSet ( LWXPanelID  lwxpanel,
unsigned long  id,
void *  data 
)
inlinestatic
static LWXPDrawFuncs* lwpp::XPanelFuncs::getDrawFuncs ( )
inlinestatic

Reimplemented in lwpp::XPanel.

static float lwpp::XPanelFuncs::getFormFloat ( LWXPanelID  lwxpanel,
unsigned long  id 
)
inlinestatic
static int lwpp::XPanelFuncs::getFormInt ( LWXPanelID  lwxpanel,
unsigned long  id 
)
inlinestatic
static char* lwpp::XPanelFuncs::getFormString ( LWXPanelID  lwxpanel,
unsigned long  id 
)
inlinestatic
virtual LWXPanelFuncs * lwpp::GlobalBase< LWXPanelFuncs >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

static void* lwpp::XPanelFuncs::getUserData ( LWXPanelID  lwxpanel,
unsigned long  id = 0 
)
inlinestatic

Get user data.

Parameters:
lwxpanelLWXPanelID
idID of the control or 0 for the panel
Returns:
The user data
static int lwpp::XPanelFuncs::getVersion ( )
inlinestatic

Reimplemented in lwpp::XPanel.

static void lwpp::XPanelFuncs::Hint ( LWXPanelID  lwxpanel,
LWXPanelHint *  hint,
unsigned long  ctl = 0 
)
inlinestatic
static int lwpp::XPanelFuncs::Open ( LWXPanelID  lwxpanel)
inlinestatic
LWXPanelFuncs * lwpp::GlobalBase< LWXPanelFuncs >::operator-> ( )
inlineinherited

Get the pointer to the global.

static int lwpp::XPanelFuncs::Post ( LWXPanelID  lwxpanel)
inlinestatic
static void lwpp::XPanelFuncs::setForm ( LWXPanelID  lwxpanel,
unsigned long  id,
long  data 
)
inlinestatic
static void lwpp::XPanelFuncs::setForm ( LWXPanelID  lwxpanel,
unsigned long  id,
float  data 
)
inlinestatic
static void lwpp::XPanelFuncs::setForm ( LWXPanelID  lwxpanel,
unsigned long  id,
char *  data 
)
inlinestatic
static void lwpp::XPanelFuncs::setForm ( LWXPanelID  lwxpanel,
unsigned long  id,
const char *  data 
)
inlinestatic
static void lwpp::XPanelFuncs::setUserData ( LWXPanelID  lwxpanel,
void *  data,
unsigned long  id = 0 
)
inlinestatic

Set user data.

Parameters:
lwxpanelLWXPanelID
*dataThe user data
idID of the control or 0 for the panel
static void lwpp::XPanelFuncs::ViewInst ( LWXPanelID  lwxpanel,
void *  inst 
)
inlinestatic
static void lwpp::XPanelFuncs::ViewRefresh ( LWXPanelID  lwxpanel)
inlinestatic

Reimplemented in lwpp::XPanel.


Member Data Documentation

LWXPanelFuncs * lwpp::GlobalBase< LWXPanelFuncs >::globPtr
staticprotectedinherited

Pointer to the global functions.


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