AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
AAX_IViewContainer Class Referenceabstract

#include <AAX_IViewContainer.h>

Inheritance diagram for AAX_IViewContainer:
Inheritance graph
[legend]

Description

Interface for the AAX host's view of a single instance of an effect. Used both by clients of the AAX host and by effect components.

:Implemented by the AAX Host:

Public Member Functions

virtual ~AAX_IViewContainer (void)
 
View and GUI state queries
virtual int32_t GetType ()=0
 Returns the raw view type as one of AAX_EViewContainer_Type. More...
 
virtual void * GetPtr ()=0
 Returns a pointer to the raw view. More...
 
virtual AAX_Result GetModifiers (uint32_t *oModifiers)=0
 Queries the host for the current modifier keys. More...
 
View change requests
virtual AAX_Result SetViewSize (AAX_Point &iSize)=0
 Request a change to the main view size. More...
 
Host event handlers

These methods are used to pass plug-in GUI events to the host for handling. Events should always be passed on in this way when there is a possibility of the host overriding the event with its own behavior.

For example, in Pro Tools a command-control-option-click on any automatable plug-in parameter editor should bring up that parameter's automation pop-up menu, and a control-right click should display the parameter's automation lane in the Pro Tools Edit window. In order for Pro Tools to handle these events, the plug-in must pass them on using HandleParameterMouseDown()

For each of these methods:

  • AAX_SUCCESS is returned if the event was successfully handled by the host. In most cases, no further action will be required from the plug-in after the host successfully handles an event.
  • AAX_ERROR_UNIMPLEMENTED is returned if the event was not handled by the host. In this case, the plug-in should perform its own event handling.
virtual AAX_Result HandleParameterMouseDown (AAX_CParamID iParamID, uint32_t iModifiers)=0
 Alert the host to a mouse down event. More...
 
virtual AAX_Result HandleParameterMouseDrag (AAX_CParamID iParamID, uint32_t iModifiers)=0
 Alert the host to a mouse drag event. More...
 
virtual AAX_Result HandleParameterMouseUp (AAX_CParamID iParamID, uint32_t iModifiers)=0
 Alert the host to a mouse up event. More...
 

Constructor & Destructor Documentation

virtual AAX_IViewContainer::~AAX_IViewContainer ( void  )
inlinevirtual

Member Function Documentation

virtual int32_t AAX_IViewContainer::GetType ( )
pure virtual

Returns the raw view type as one of AAX_EViewContainer_Type.

Implemented in AAX_VViewContainer.

virtual void* AAX_IViewContainer::GetPtr ( )
pure virtual

Returns a pointer to the raw view.

Implemented in AAX_VViewContainer.

virtual AAX_Result AAX_IViewContainer::GetModifiers ( uint32_t *  oModifiers)
pure virtual

Queries the host for the current modifier keys.

This method returns a bit mask with bits set for each of the currently active modifier keys. This method does not return the state of the AAX_eModifiers_SecondaryButton.

Host Compatibility Notes:
Although this method allows plug-ins to acquire the current state of the Windows key (normally blocked by Pro Tools), plug-ins should not use key combinations that require this key.

Implemented in AAX_VViewContainer.

virtual AAX_Result AAX_IViewContainer::SetViewSize ( AAX_Point iSize)
pure virtual

Request a change to the main view size.

Note
  • For compatibility with the smallest supported displays, plug-in GUI dimensions should not exceed 749x617 pixels, or 749x565 pixels for plug-ins with sidechain support.
Parameters
[in]iSizeThe new size to which the plug-in view should be set

Implemented in AAX_VViewContainer.

virtual AAX_Result AAX_IViewContainer::HandleParameterMouseDown ( AAX_CParamID  iParamID,
uint32_t  iModifiers 
)
pure virtual

Alert the host to a mouse down event.

Parameters
[in]iParamIDID of the parameter whose control is being edited
[in]iModifiersA bitmask of AAX_EModifiers values

Implemented in AAX_VViewContainer.

virtual AAX_Result AAX_IViewContainer::HandleParameterMouseDrag ( AAX_CParamID  iParamID,
uint32_t  iModifiers 
)
pure virtual

Alert the host to a mouse drag event.

Parameters
[in]iParamIDID of the parameter whose control is being edited
[in]iModifiersA bitmask of AAX_EModifiers values

Implemented in AAX_VViewContainer.

virtual AAX_Result AAX_IViewContainer::HandleParameterMouseUp ( AAX_CParamID  iParamID,
uint32_t  iModifiers 
)
pure virtual

Alert the host to a mouse up event.

Parameters
[in]iParamIDID of the parameter whose control is being edited
[in]iModifiersA bitmask of AAX_EModifiers values

Implemented in AAX_VViewContainer.


The documentation for this class was generated from the following file: