#include <ioapi.h>
Class Description
- See also:
- Class ILoad,
References.
- Description:
- This is the callback object used by ILoad::RegisterPostLoadCallback().
The proc()
method will be called when everything has been loaded and all the
references are in place. It is assumed that if the callback needs
to be deleted, the proc()
method will do it.
Public Member Functions
|
virtual
void |
proc
(ILoad *iload)=0 |
virtual
int |
Priority
() |
virtual
INT_PTR |
Execute
(int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR
arg3=0) |
Member Function Documentation
virtual void proc |
( |
ILoad * |
iload |
) |
[pure virtual] |
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. PostLoadCalls with a priority less
than 0 will be treated as 0, greater than 10 will be treated as
10.
Reimplemented in ParamBlockPLCB,
ParamBlock2PLCB,
PluginClassDefPLCB1, and
PluginClassDefPLCB2.
virtual INT_PTR Execute |
( |
int |
cmd, |
|
|
ULONG_PTR |
arg1 = 0 , |
|
|
ULONG_PTR |
arg2 = 0 , |
|
|
ULONG_PTR |
arg3 = 0 |
|
) |
|
[inline, 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 in ParamBlockPLCB,
and
ParamBlock2PLCB.