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

#include <generic_handler.h>

+ Inheritance diagram for lwpp::LayoutGenericXPanelHandler:
+ Collaboration diagram for lwpp::LayoutGenericXPanelHandler:

List of all members.

Public Member Functions

virtual int Activate ()=0
virtual void ButtonClick (unsigned int)
virtual void ChangeNotify (LWXPanelID, unsigned int, unsigned int, int)
virtual void ControlDraw (unsigned int, XPDrawArea &)
virtual void ControlZoom (unsigned int, int, int, int *, int)
virtual void CreateViewXPanel (LWXPanelControl *controls, LWXPanelDataDesc *desc, LWXPanelHint *hints=0, bool do_destroy=false)
virtual void * DataGet (unsigned int)
 Put data into a XPanel View.
virtual LWXPRefreshCode DataSet (unsigned int, void *)
 Retrieve data fom a XPanel View.
virtual int Interface (int version, LWInterface *local, void *serverdata)
virtual void PanelDestroyNotify (void)
void PopCommand (int, int)
void setLG (LWLayoutGeneric *local)

Static Public Member Functions

static void * CB_DataGet (LWInstance inst, unsigned int vid)
 Put data into a XPanel View.
static LWXPRefreshCode CB_DataSet (LWInstance inst, unsigned int vid, void *value)
 Retrieve data fom a XPanel View.
static void LWXPanelBtnClickFunc (LWXPanelID panel, int cid)
 Callback for XPanel button Clicks.
static void LWXPanelChangeNotifyFunc (LWXPanelID panel, unsigned int cid, unsigned int vid, int event_type)
static void LWXPanelControlDrawFunc (LWXPanelID panel, unsigned int cid, LWXPDrAreaID reg, int w, int h)
static void LWXPanelControlZoomFunc (LWXPanelID panel, unsigned int cid, int x, int y, int *region, int clickcount)
static void LWXPanelDestroyNotifyFunc (void *data)
static void LWXPanelPopCmdFunc (LWXPanelID panel, int cid, int cmd)

Public Attributes

XPanel LW_XPanel

Protected Member Functions

void addServer (const char *type, const char *name)
void addUniqueServer (const char *type, const char *name, LWItemID id=0)
void editServer (const char *type, const char *name, LWItemID id=0)
int evaluate (const char *command)
int evaluate (const std::string &command)
int execute (LWCommandCode cmd, int argc, const DynaValue *argv, DynaValue *result)
int loadScene (const char *file, const char *name)
LWCommandCode lookup (const char *cmdName)
void removeServer (const char *type, const int index)
void removeServer (const char *type, const char *name, LWItemID id=0)
int saveScene (const char *file)

Static Protected Member Functions

static int findServer (const char *type, const char *name, LWItemID id=0)

Protected Attributes

LWLayoutGeneric * layoutGeneric

Member Function Documentation

virtual int lwpp::LayoutGenericHandler::Activate ( )
pure virtualinherited
void lwpp::LayoutGenericHandler::addServer ( const char *  type,
const char *  name 
)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::addUniqueServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
virtual void lwpp::XPanelInterface::ButtonClick ( unsigned  int)
inlinevirtualinherited
void * lwpp::XPanelInterface::CB_DataGet ( LWInstance  inst,
unsigned int  vid 
)
staticinherited

Put data into a XPanel View.

LWXPRefreshCode lwpp::XPanelInterface::CB_DataSet ( LWInstance  inst,
unsigned int  vid,
void *  value 
)
staticinherited

Retrieve data fom a XPanel View.

virtual void lwpp::XPanelInterface::ChangeNotify ( LWXPanelID  ,
unsigned int  ,
unsigned int  ,
int   
)
inlinevirtualinherited

Reimplemented in lwpp::XPanelNodeHandler.

virtual void lwpp::XPanelInterface::ControlDraw ( unsigned  int,
XPDrawArea  
)
inlinevirtualinherited
virtual void lwpp::XPanelInterface::ControlZoom ( unsigned  int,
int  ,
int  ,
int *  ,
int   
)
inlinevirtualinherited
void lwpp::XPanelInterface::CreateViewXPanel ( LWXPanelControl *  controls,
LWXPanelDataDesc *  desc,
LWXPanelHint *  hints = 0,
bool  do_destroy = false 
)
virtualinherited
virtual void* lwpp::XPanelInterface::DataGet ( unsigned int  )
inlinevirtualinherited

Put data into a XPanel View.

virtual LWXPRefreshCode lwpp::XPanelInterface::DataSet ( unsigned int  ,
void *   
)
inlinevirtualinherited

Retrieve data fom a XPanel View.

void lwpp::LayoutGenericHandler::editServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::evaluate ( const char *  command)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::evaluate ( const std::string &  command)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::execute ( LWCommandCode  cmd,
int  argc,
const DynaValue *  argv,
DynaValue *  result 
)
inlineprotectedinherited
static int lwpp::LayoutGenericHandler::findServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlinestaticprotectedinherited
virtual int lwpp::XPanelInterface::Interface ( int  version,
LWInterface *  local,
void *  serverdata 
)
inlinevirtualinherited
int lwpp::LayoutGenericHandler::loadScene ( const char *  file,
const char *  name 
)
inlineprotectedinherited
LWCommandCode lwpp::LayoutGenericHandler::lookup ( const char *  cmdName)
inlineprotectedinherited
void lwpp::XPanelInterface::LWXPanelBtnClickFunc ( LWXPanelID  panel,
int  cid 
)
staticinherited

Callback for XPanel button Clicks.

void lwpp::XPanelInterface::LWXPanelChangeNotifyFunc ( LWXPanelID  panel,
unsigned int  cid,
unsigned int  vid,
int  event_type 
)
staticinherited
void lwpp::XPanelInterface::LWXPanelControlDrawFunc ( LWXPanelID  panel,
unsigned int  cid,
LWXPDrAreaID  reg,
int  w,
int  h 
)
staticinherited
void lwpp::XPanelInterface::LWXPanelControlZoomFunc ( LWXPanelID  panel,
unsigned int  cid,
int  x,
int  y,
int *  region,
int  clickcount 
)
staticinherited
void lwpp::XPanelInterface::LWXPanelDestroyNotifyFunc ( void *  data)
staticinherited
void lwpp::XPanelInterface::LWXPanelPopCmdFunc ( LWXPanelID  panel,
int  cid,
int  cmd 
)
staticinherited
virtual void lwpp::XPanelInterface::PanelDestroyNotify ( void  )
inlinevirtualinherited
void lwpp::XPanelInterface::PopCommand ( int  ,
int   
)
inlineinherited
void lwpp::LayoutGenericHandler::removeServer ( const char *  type,
const int  index 
)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::removeServer ( const char *  type,
const char *  name,
LWItemID  id = 0 
)
inlineprotectedinherited
int lwpp::LayoutGenericHandler::saveScene ( const char *  file)
inlineprotectedinherited
void lwpp::LayoutGenericHandler::setLG ( LWLayoutGeneric *  local)
inlineinherited

Member Data Documentation

LWLayoutGeneric* lwpp::LayoutGenericHandler::layoutGeneric
protectedinherited
XPanel lwpp::XPanelInterface::LW_XPanel
inherited

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