Class InterfaceServer

3DS Max Plug-In SDK

Class InterfaceServer

See Also: Class BaseInterface, Class IObject, Function Publishing System.

class InterfaceServer

Description:

This class is available in release 4.0 and later only.

Class InterfaceServer is the base class for interface servers in 3ds max and should be inherited by any class that wishes to implement the GetInterface() protocol. The InterfaceServer also adds a data member for storing interfaces, typically extension interfaces added to maintain API binary compatibility.

Methods:

public:

Prototype:

virtual BaseInterface* GetInterface(Interface_ID id) = 0;

Remarks:

Returns a pointer to the interface whose ID is specified.

Parameters:

Interface_ID id

The ID of the interface to return.

Default Implementation:

{ return NULL; }