Detailed Description
- See also:
- Class ParamVersionDesc.
- Description:
- 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.
#include <iparamb.h>
List of all
members.
Constructor & Destructor Documentation
- Parameters:
- ParamVersionDesc *v
This is an array of ParamVersionDescs.
int cnt
This is 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.
- See also:
- Advanced Topics section under Parameter Maps for an
explanation of how this is used.
Member Function Documentation
CoreExport void proc |
( |
ILoad * |
iload |
) |
[virtual] |
- Parameters:
-
iload |
This class provides methods to load data from disk. |
Implements PostLoadCallback.
int Priority |
( |
|
) |
[inline, virtual] |
- Returns:
- The allowable return values are 0 to 10, with 5
being the default. 0 is reserved for ParamBlock2PLCB and ParamBlockPLCB..
- Default Implementation:
- { return 5; }
- Note:
- Custom Attributes are added to their owner objects in a
Priority 6 PostLoadCall. Object
Custom Attributes and object MetaData should be expected only in
PostLoadCalls with a Priority of 7 or lower. Custom Attributes
added in PostLoadCalls with a higher Priority may be replaced by
the Priority 6 PostLoadCall.
Reimplemented from PostLoadCallback.
CoreExport INT_PTR Execute |
( |
int |
cmd, |
|
|
ULONG_PTR |
arg1 = 0 , |
|
|
ULONG_PTR |
arg2 = 0 , |
|
|
ULONG_PTR |
arg3 = 0 |
|
) |
|
[virtual] |
- Parameters:
-
cmd |
The command to execute. |
arg1 |
Optional argument 1 (defined uniquely for each
cmd). |
arg2 |
Optional argument 2. |
arg3 |
Optional argument 3. |
- Returns:
- An integer return value (defined uniquely for each
cmd).
- Default Implementation:
- { return 0; }
Reimplemented from PostLoadCallback.
Member Data Documentation
ParamBlockPLCB ParamBlockPLCB
ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB
ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB
ParamBlockPLCB ParamBlockPLCB
ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB
ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB ParamBlockPLCB