Public Member Functions | Public Attributes

CustAttribClassDefPLCB1 Class Reference

Search for all occurrences

Detailed Description

Deprecated:
Deprecated in 3ds Max 2012. Custom attributes are now handled by PluginClassDefPLCB1.

#include <mxsPlugin.h>

Inheritance diagram for CustAttribClassDefPLCB1:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

MAX_DEPRECATED CustAttribClassDefPLCB1 ( ) [inline]
{ }

Member Function Documentation

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]
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]
Remarks:
This method determines the order that the various registered callbacks execute. This method is overridden, for example, by the ParmBlock2 PostLoadCallbacks to return 1 so it can execute before the others.
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.

{ return 5; }
void proc ( ILoad iload ) [inline, virtual]
Remarks:
This method will be called when loading is complete.
Parameters:
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);
    }

Member Data Documentation


CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1
CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1 CustAttribClassDefPLCB1