Public Member Functions

IUnReplaceableControl Class Reference

Search for all occurrences

Detailed Description

Basically it's a backwards-compatabile fix for the fact that the 'IsReplaceable' control flag isn't used by PB2's. Secondly the class provides.

IUnReplaceableControl is a new interface which if present lets the internal system know that the controller can't be replaced.

Description:
This interface is mainly used by the wire controller UI.

For example, a controller that implements this interface can't be replaced by a wire controller, it can only participate in one way wires where this controller is the master. In addition when the controller is replaced and collapsed the Control returned by the GetReplacementClone function will be used to replace the wire.

The interface is retrieved by calling GetInterface(I_UNREPLACEABLECTL).
Examples:
The expose transform controller (see maxsdk) implements this interface.

#include <istdplug.h>

Inheritance diagram for IUnReplaceableControl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~IUnReplaceableControl ()
virtual Control GetReplacementClone ()=0

Constructor & Destructor Documentation

virtual ~IUnReplaceableControl ( ) [inline, virtual]
{};

Member Function Documentation

virtual Control* GetReplacementClone ( ) [pure virtual]

IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl
IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl IUnReplaceableControl