This reference page is linked to from the following overview topics: New Classes and Methods, Deprecated Types.
#include <iparamb.h>
Extension of the ParamBlockPLCB class.
This class should be used instead of ParamBlockPLCB to register for Post Load Callbacks. This uses a better mechanism for detecting the validity of the ReferenceTarget* member variable targ.
Public Member Functions |
|
CoreExport | ParamBlockPLCBEx (ParamVersionDesc *v, int cnt, ParamVersionDesc *c, ReferenceTarget *t, int refNum) |
Constructor. |
|
CoreExport | ~ParamBlockPLCBEx () |
CoreExport void | proc (ILoad *iload) |
from PostLoadCallback |
|
CoreExport ReferenceTarget * | GetTarget () |
Safe method for getting the targ member
variable. |
|
CoreExport bool | IsValid () |
CoreExport ParamBlockPLCBEx | ( | ParamVersionDesc * | v, |
int | cnt, | ||
ParamVersionDesc * | c, | ||
ReferenceTarget * | t, | ||
int | refNum | ||
) |
Constructor.
CoreExport ~ParamBlockPLCBEx | ( | ) |
CoreExport void proc | ( | ILoad * | iload | ) | [virtual] |
CoreExport ReferenceTarget* GetTarget | ( | ) |
Safe method for getting the targ member variable.
This performs extra checks to ensure that ReferenceTarget pointer ParamBlockPLCB::targ is still valid and hasn't been deleted. Therefore, do not access the targ member variable in class ParamBlockPLCB directly but rather use this method.
CoreExport bool IsValid | ( | ) |