AAX SDK 2.6.1
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_IDisplayDelegate.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2014-2015, 2023 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * CONFIDENTIAL: this document contains confidential information of Avid. Do
8 * not disclose to any third party. Use of the information contained in this
9 * document is subject to an Avid SDK license.
10 *
11 */
12
19/*================================================================================================*/
20
21
22#ifndef AAX_IDISPLAYDELETGATE_H
23#define AAX_IDISPLAYDELETGATE_H
24
25#include "AAX.h"
26
27
28//Forward declarations
29class AAX_CString;
30
50{
51public:
57};
58
64template <typename T>
66{
67public:
68
82 virtual AAX_IDisplayDelegate* Clone() const = 0;
83
94 virtual bool ValueToString(T value, AAX_CString* valueString) const = 0;
95
108 virtual bool ValueToString(T value, int32_t maxNumChars, AAX_CString* valueString) const = 0;
109
120 virtual bool StringToValue(const AAX_CString& valueString, T* value) const = 0;
121};
122
123
124
125#endif //AAX_IDISPLAYDELETGATE_H
Various utility definitions for AAX.
A generic AAX string class with similar functionality to std::string
Definition: AAX_CString.h:44
Defines the display behavior for a parameter.
Definition: AAX_IDisplayDelegate.h:50
virtual ~AAX_IDisplayDelegateBase()
Virtual destructor.
Definition: AAX_IDisplayDelegate.h:56
Definition: AAX_IDisplayDelegate.h:66
virtual bool ValueToString(T value, int32_t maxNumChars, AAX_CString *valueString) const =0
Converts a real parameter value to a string representation using a size hint, useful for control surf...
virtual bool ValueToString(T value, AAX_CString *valueString) const =0
Converts a real parameter value to a string representation.
virtual AAX_IDisplayDelegate * Clone() const =0
Constructs and returns a copy of the display delegate.
virtual bool StringToValue(const AAX_CString &valueString, T *value) const =0
Converts a string to a real parameter value.