This reference page is linked to from the following overview topics: New Classes and Methods, Deprecated Types, Backward Compatibility.
#include <iparamb.h>
This is a handy post load call back for fixing up parameter blocks. This will look up the version of the loaded callback and fix it up so it matches the current version. NOTE: this deletes itself when its done. See Parameter Maps for more details.
Use ParamBlockPLCBEx instead.
Public Member Functions |
|
ParamBlockPLCB (ParamVersionDesc *v, int cnt, ParamVersionDesc *c, ReferenceTarget *t, int refNum) | |
Constructor. |
|
CoreExport void | proc (ILoad *iload) |
int | Priority () |
CoreExport INT_PTR | Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0) |
Public Attributes |
|
ParamVersionDesc * | versions |
int | count |
ParamVersionDesc * | cur |
ReferenceTarget * | targ |
int | pbRefNum |
ParamBlockPLCB | ( | ParamVersionDesc * | v, |
int | cnt, | ||
ParamVersionDesc * | c, | ||
ReferenceTarget * | t, | ||
int | refNum | ||
) | [inline] |
Constructor.
ParamVersionDesc* | v - This is an array of ParamVersionDescs. |
int | cnt - The number of elements in the array specified above. |
ParamVersionDesc* | c - This is a pointer to the current version of the ParamVersionDesc. |
ReferenceTarget* | t - This is a pointer to a reference target. This is usually the this pointer of the object. |
int | refNum - This is the reference index of the parameter block. |
CoreExport void proc | ( | ILoad * | iload | ) | [virtual] |
iload | This class provides methods to load data from disk. |
Implements PostLoadCallback.
Reimplemented in ParamBlockPLCBEx.
int Priority | ( | ) | [inline, virtual] |
Reimplemented from PostLoadCallback.
{ return 0; }
CoreExport INT_PTR Execute | ( | int | cmd, |
ULONG_PTR | arg1 = 0 , |
||
ULONG_PTR | arg2 = 0 , |
||
ULONG_PTR | arg3 = 0 |
||
) | [virtual] |
cmd | The command to execute. |
arg1 | Optional argument 1 (defined uniquely for each cmd). |
arg2 | Optional argument 2. |
arg3 | Optional argument 3. |
Reimplemented from PostLoadCallback.