#include <ifnpub.h>
Class Description
- See also:
- Class FPInterface, Class FPInterfaceDesc, Function
publishing.
- Description:
- A "Mixin" interface provides a way for a plug-in to expose some
of its functionality for use by other plug-ins or MAXScript. The
notion of "Mixin" refers to the idea that the interface is a
sub-class of the plug-in class and thus "mixed in" with it. Many
classes in the SDK now inherit from FPMixinInterface in order to
expose some of their functionality.
Developers should see the documentation for Class FPInterface for reference on
this class as well.
For an overview of the function publishing system as a whole, see
Function
publishing.
Constructor & Destructor Documentation
Member Function Documentation
- Returns:
- One of the following LifetimeTypes:
noRelease
Do not call release, use interface as long as you like.
immediateRelease
The interface is only good for one calls. The release is implied so
a call to release is not required.
wantsRelease
The clients are controlling the lifetime, so the interface needs a
Release() when the client has finished. This is the default.
serverControlled
The server controls the lifetime and will use the InterfaceNotifyCallback
to inform the code when it is gone.
- Default Implementation:
- { return noRelease; }
Reimplemented from BaseInterface.
Reimplemented in
AssetUser, Plane,
GizmoShape,
XMLAnimTreeEntry,
XMLAnimTreeEntryList, and NodeAndAnims.
- Parameters:
- InterfaceNotifyCallback* incb
A pointer to the interface notify callback.
- Default Implementation:
- { return false; }
Reimplemented from BaseInterface.
- Parameters:
- Interface_ID id
The ID of the interface to return.
- Default Implementation:
- { return NULL; }
Reimplemented from FPInterface.
Reimplemented in ActionItem,
ActionItemStandin,
ActionTable,
AssetUser, INode,
ITreeView,
SimpleManipulator,
ITrackBar,
PFSimpleAction,
PFSimpleActionState, PFSimpleOperator,
and PFSimpleTest.
- Returns:
- The Interface_ID.
- Default Implementation:
- { return GetDesc()->ID;
}
Reimplemented from BaseInterface.
Reimplemented in ActionItem,
ActionTable,
AssetUser, IDaylightSystem2,
INodeMonitor,
INodeTransformMonitor,
IRefTargMonitorClass,
ILookatControl_Extension, ITreeViewUI,
ITreeViewOps,
IXRefAtmospheric,
IXRefCtrl,
IXRefItem,
IXRefMaterial,
IXRefObject8,
IObjXRefRecord,
and IXRefProxy.
Friends And Related Function Documentation
friend class FPMixinInterfaceValue
[friend] |
Member Data Documentation