#include <ifnpub.h>
Class Description
- See also:
- Class BaseInterfaceServer, Class
FPInterface,
Class FPInterfaceDesc, Function
Publishing, Class InterfaceServer,
- Description:
- This is the base class used to publish functions from those
objects not derived from Animatable. A developer inherits from
this class and implements the methods of this class to provide
information about the interfaces published by the class.
There is a corresponding ParamType2 type code,
TYPE_IOBJECT, that allows instances of these classes to be
passed and returned in FPInterface methods. This provides a
simple form of user-defined type, in the sense that these instance
collections are passed as interfaces rather than pointers.
MAXScript has wrapper value classes for IObjects and so this
mechanism provides a light-weight alternative to the MAXScript SDK
facilities for adding new wrapper value classes to the
scripter.
MAXScript also calls the AcquireInterface() and
ReleaseInterface() methods on IObjects as it creates and
collects these wrappers, so that IObject objects can keep track of
MAXScript's extant references to them.
Member Function Documentation
virtual const MCHAR* GetIObjectName |
( |
|
) |
[inline, virtual] |
virtual void AcquireIObject |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { }
Reimplemented in
AssetUser.
virtual void ReleaseIObject |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { }
Reimplemented in
AssetUser.
virtual void DeleteIObject |
( |
|
) |
[inline, virtual] |