AAX SDK  2.4.1
Avid Audio Extensions Development Kit
AAX_VViewContainer.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright 2013-2017, 2019 by Avid Technology, Inc.
5  * All rights reserved.
6  *
7  * CONFIDENTIAL: This document contains confidential information. Do not
8  * read or examine this document unless you are an Avid Technology employee
9  * or have signed a non-disclosure agreement with Avid Technology which protects
10  * the confidentiality of this document. DO NOT DISCLOSE ANY INFORMATION
11  * CONTAINED IN THIS DOCUMENT TO ANY THIRD-PARTY WITHOUT THE PRIOR WRITTEN CONSENT
12  * OF Avid Technology, INC.
13  *
14  */
15 
22 /*================================================================================================*/
23 
24 #ifndef AAX_VVIEWCONTAINER_H
25 #define AAX_VVIEWCONTAINER_H
26 
27 #include "AAX_IViewContainer.h"
28 #include "AAX_IACFViewContainer.h"
29 #include "ACFPtr.h"
30 
31 
32 class IACFUnknown;
33 
39 {
40 public:
43 
44  // AAX_IACFViewContainer
45 
46  // Getters
47  int32_t GetType () AAX_OVERRIDE;
48  void * GetPtr () AAX_OVERRIDE;
49  AAX_Result GetModifiers ( uint32_t * outModifiers ) AAX_OVERRIDE;
50 
51  // Setters
53  AAX_Result HandleParameterMouseDown ( AAX_CParamID inParamID, uint32_t inModifiers ) AAX_OVERRIDE;
54  AAX_Result HandleParameterMouseDrag ( AAX_CParamID inParamID, uint32_t inModifiers ) AAX_OVERRIDE;
55  AAX_Result HandleParameterMouseUp ( AAX_CParamID inParamID, uint32_t inModifiers ) AAX_OVERRIDE;
56  AAX_Result HandleMultipleParametersMouseDown ( const AAX_CParamID* inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers ) AAX_OVERRIDE;
57  AAX_Result HandleMultipleParametersMouseDrag ( const AAX_CParamID* inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers ) AAX_OVERRIDE;
58  AAX_Result HandleMultipleParametersMouseUp ( const AAX_CParamID* inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers ) AAX_OVERRIDE;
59 
60 private:
61  ACFPtr<AAX_IACFViewContainer> mIViewContainer;
62  ACFPtr<AAX_IACFViewContainer_V2> mIViewContainerV2;
63 };
64 
65 
66 #endif //AAX_IAUTOMATIONDELEGATE_H
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:352
int32_t AAX_Result
Definition: AAX.h:337
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:141
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the AAXH...
Interface for the AAX host's view of a single instance of an effect.
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.doxygen:248
Data structure representing a two-dimensional coordinate point.
Definition: AAX_GUITypes.h:42
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the host...
Definition: AAX_IACFViewContainer.h:46
Supplemental interface for the AAX host's view of a single instance of an effect. Used by both client...
Definition: AAX_IACFViewContainer.h:79
Interface for the AAX host's view of a single instance of an effect. Used both by clients of the AAX ...
Definition: AAX_IViewContainer.h:41
Version-managed concrete AAX_IViewContainer class.
Definition: AAX_VViewContainer.h:39
int32_t GetType() AAX_OVERRIDE
Returns the raw view type as one of AAX_EViewContainer_Type.
AAX_Result HandleMultipleParametersMouseDrag(const AAX_CParamID *inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse drag event.
~AAX_VViewContainer() AAX_OVERRIDE
AAX_Result SetViewSize(AAX_Point &inSize) AAX_OVERRIDE
Request a change to the main view size.
AAX_Result HandleMultipleParametersMouseUp(const AAX_CParamID *inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse up event.
void * GetPtr() AAX_OVERRIDE
Returns a pointer to the raw view.
AAX_Result HandleParameterMouseDown(AAX_CParamID inParamID, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse down event.
AAX_VViewContainer(IACFUnknown *pUnknown)
AAX_Result GetModifiers(uint32_t *outModifiers) AAX_OVERRIDE
Queries the host for the current modifier keys.
AAX_Result HandleMultipleParametersMouseDown(const AAX_CParamID *inParamIDs, uint32_t inNumOfParams, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse down event.
AAX_Result HandleParameterMouseDrag(AAX_CParamID inParamID, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse drag event.
AAX_Result HandleParameterMouseUp(AAX_CParamID inParamID, uint32_t inModifiers) AAX_OVERRIDE
Alert the host to a mouse up event.