#include <mxsPlugin.h>
Public Member Functions |
|
bool | isRegistered (ILoad *iload) |
void | Register (ILoad *iload) |
void | Unregister (ILoad *iload) |
MAX_DEPRECATED | CustAttribClassDefPLCB1 () |
int | Priority () |
void | proc (ILoad *iload) |
Public Attributes |
|
Tab< ILoad * > | registeredILoads |
MAX_DEPRECATED CustAttribClassDefPLCB1 | ( | ) | [inline] |
{ }
bool isRegistered | ( | ILoad * | iload | ) | [inline] |
{ int count = registeredILoads.Count(); for (int i = 0; i< count; i++) if (registeredILoads[i] == iload) return true; return false; }
void Register | ( | ILoad * | iload | ) | [inline] |
{ registeredILoads.Append(1,&iload); }
void Unregister | ( | ILoad * | iload | ) | [inline] |
{ int count = registeredILoads.Count(); for (int i = 0; i< count; i++) if (registeredILoads[i] == iload) { registeredILoads.Delete(i,1); return; } }
int Priority | ( | ) | [inline, virtual] |
Reimplemented from PostLoadCallback.
{ return 5; }
void proc | ( | ILoad * | iload | ) | [inline, virtual] |
iload | This class provides methods to load data from disk. |
Implements PostLoadCallback.
{ #ifdef _DEBUG if (dump_load_postload_callback_order) DebugPrint(_M("MXS: PostLoadCallback1 run: theCustAttribClassDefPLCB1\n")); #endif MSPluginClass::post_load(iload,2); Unregister(iload); }