IAutoEParamDlg Class Reference
 
 
 
IAutoEParamDlg Class Reference

#include <iparamm2.h>

Inheritance diagram for IAutoEParamDlg:
SFXParamDlg InterfaceServer MaxHeapOperators MSAutoEParamDlg

Class Description

See also:
Class ParamDlg, Class IParamMap2, Class IRendParams, Class ParamMap2UserDlgProc.

Description:
Auto ParamDlg class for Effects auto-UI, instanced by ClassDesc2::CreateParamDialog(). It maintains a table of secondary EffectParamDlg for master EffectParamDlg (e.g., the one returned from CreateParamDialog()) and will broadcast appropriate method calls to them as the master receives them.

Public Member Functions

virtual void  InvalidateUI ()=0
virtual int  NumDlgs ()=0
virtual void  AddDlg (SFXParamDlg *dlg)=0
virtual SFXParamDlg GetDlg (int i)=0
virtual void  SetDlg (int i, SFXParamDlg *dlg)=0
virtual void  DeleteDlg (SFXParamDlg *dlg)=0
virtual IParamMap2 GetMap ()=0

Member Function Documentation

virtual void InvalidateUI ( ) [pure virtual]
Remarks:
This method causes the user interface controls to be re-drawn.

Reimplemented from SFXParamDlg.

Implemented in MSAutoEParamDlg.

virtual int NumDlgs ( ) [pure virtual]
Remarks:
Returns the number of secondary dialogs.

Implemented in MSAutoEParamDlg.

virtual void AddDlg ( SFXParamDlg dlg ) [pure virtual]
Remarks:
Adds the specified dialog as another secondary dialog.
Parameters:
SFXParamDlg* dlg

Points to the parameter dialog to add.

Implemented in MSAutoEParamDlg.

virtual SFXParamDlg* GetDlg ( int  i ) [pure virtual]
Remarks:
Returns a pointer to the 'i-th' secondary dialog.
Parameters:
int i

The zero based index of the dialog to return.

Implemented in MSAutoEParamDlg.

virtual void SetDlg ( int  i,
SFXParamDlg dlg 
) [pure virtual]
Remarks:
Sets the 'i-th' dialog to the one passed.
Parameters:
int i

The zero based index of the dialog to set.

SFXParamDlg* dlg

Points to the parameter dialog to set.

Implemented in MSAutoEParamDlg.

virtual void DeleteDlg ( SFXParamDlg dlg ) [pure virtual]
Remarks:
This method is used for deleting secondary dialogs from a master IAutoEParamDlg. Use this along with AddDlg() if you are dynamically changing the set of rollups for the plugin, so that the P_AUTO_UI system can correctly manage all current secondary rollups.
Parameters:
SFXParamDlg* dlg

Points to the ParamDlg to delete.

Implemented in MSAutoEParamDlg.

virtual IParamMap2* GetMap ( ) [pure virtual]
Remarks:
Returns a pointer to the parameter map2 of this primary (master) dialog.

Implemented in MSAutoEParamDlg.