MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT > Class Template Reference

Convenience template for OBJECT_LIST form to allow method in container class to be called. More...

#include <mgui/formelemselect.h>

Inheritance diagram for MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, _CT *pContainer, void(_CT::*pfOnObjectSelected)(const RVC::OBJITEM &ObjItem), const RVC::OBJTYPESET &GeometricSet, RVC::OBJTYPE DestObjType, TEXTID TextID=TEXTID_Prompt_Objects_ToProcess, GETOBJFLAGS GetObjFlags=GETOBJFLAG_None, RVC::GETOBJFILTER *GetObjFilter=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand, FORM_BASE_ELEMENT_SELECT::REGIONFLAGS RegionFlags=FORM_BASE_ELEMENT_SELECT::REGIONFLAG_None)
 FORM_GEOMETRIC_EXTRACT_SELECT_T ()
void SetObjectAdded (void(_CT::*ObjectAdded)(const RVC::OBJITEM &ObjItem, INT32 ItemNum))

Detailed Description

template<class _CT>
class MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT >

Convenience template for OBJECT_LIST form to allow method in container class to be called.

This template allows a method in a 'container' class to be called when the button is pressed, rather than requiring that a subclass be defined with the OnPressed() virtual method overridden.

Definition at line 622 of file formelemselect.h.


Constructor & Destructor Documentation

template<class _CT>
MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT >::FORM_GEOMETRIC_EXTRACT_SELECT_T  )  [inline]
 

Constructor.

Definition at line 626 of file formelemselect.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
_CT *  pContainer,
void(_CT::*  pfOnObjectSelected)(const RVC::OBJITEM &ObjItem),
const RVC::OBJTYPESET GeometricSet,
RVC::OBJTYPE  DestObjType,
TEXTID  TextID = TEXTID_Prompt_Objects_ToProcess,
GETOBJFLAGS  GetObjFlags = GETOBJFLAG_None,
RVC::GETOBJFILTER GetObjFilter = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand,
FORM_BASE_ELEMENT_SELECT::REGIONFLAGS  RegionFlags = FORM_BASE_ELEMENT_SELECT::REGIONFLAG_None
[inline]
 

Create control with label from resource lookup.

Parameters:
ParentPane  Parent pane
pContainer  Pointer to callback container class
GeometricSet  Callback function pointer Set of geometric objects to work on
TextID  Usually in the form of TEXTID_Prompt_XXXs_Input

Definition at line 630 of file formelemselect.h.

template<class _CT>
void MGUI::FORM_GEOMETRIC_EXTRACT_SELECT_T< _CT >::SetObjectAdded void(_CT::*  ObjectAdded)(const RVC::OBJITEM &ObjItem, INT32 ItemNum)  )  [inline]
 

Set method to call when user adds an object to the list.

Definition at line 648 of file formelemselect.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:55 2004 for TNTsdk by  doxygen 1.3.8-20040913