Detailed Description
- See also:
- Class PostLoadCallback, Class
ILoad.
- Description:
- This is a post load call back for fixing up parameter block2s.
This callback handles conversion of pre-ParamBlock2 versions of an
object to a ParamBlock2 version. NOTE: this thing deletes itself
when it's done.
- Data Members:
- All data members are public.
ParamVersionDesc* versions;
This is an array of ParamVersionDesc2s.
int count;
This is the number in the array specified above.
ParamBlockDesc2* curdesc;
This is a pointer to the current version of the description.
ReferenceTarget* targ;
This is a pointer to a reference target. This is usually the this
pointer of the object.
int pbRefNum;
This is the reference index of the parameter block.
#include <iparamb2.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
PB2Export void proc |
( |
ILoad * |
iload |
) |
[virtual] |
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.
PB2Export 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
ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB
ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB ParamBlock2PLCB ParamBlock2PLCB
ParamBlock2PLCB