#include <AAX_CStateDisplayDelegate.h>
template<typename T>
class AAX_CStateDisplayDelegate< T >
A generic display format conforming to AAX_IDisplayDelegate.
This display delegate is similar to AAX_CNumberDisplayDelegate, but does not include precision or spacing templatizations.
Constructs and returns a copy of the display delegate.
In general, this method's implementation can use a simple copy constructor:
template <typename T>
AAX_CSubclassDisplayDelegate<T>* AAX_CSubclassDisplayDelegate<T>::Clone() const
{
return new AAX_CSubclassDisplayDelegate(*this);
}
Implements AAX_IDisplayDelegate< T >.
Converts a real parameter value to a string representation.
- Parameters
-
| [in] | value | The real parameter value that will be converted |
| [out] | valueString | A string corresponding to value |
- Return values
-
| true | The string conversion was successful |
| false | The string conversion was unsuccessful |
Implements AAX_IDisplayDelegate< T >.
Converts a real parameter value to a string representation using a size hint, useful for control surfaces and other character limited displays.
- Parameters
-
| [in] | value | The real parameter value that will be converted |
| [in] | maxNumChars | Size hint for the desired maximum number of characters in the string (not including null termination) |
| [out] | valueString | A string corresponding to value |
- Return values
-
| true | The string conversion was successful |
| false | The string conversion was unsuccessful |
Implements AAX_IDisplayDelegate< T >.
Converts a string to a real parameter value.
- Parameters
-
| [in] | valueString | The string that will be converted |
| [out] | value | The real parameter value corresponding to valueString |
- Return values
-
| true | The string conversion was successful |
| false | The string conversion was unsuccessful |
Implements AAX_IDisplayDelegate< T >.
The documentation for this class was generated from the following file: