Jamoma API  0.6.0.a19
TTParameter.h
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup graphLibrary
4  *
5  * @brief Jamoma Class for representing parameters for modules, plug-ins, etc.
6  *
7  * @details
8  *
9  * @authors Timothy Place
10  *
11  * @copyright Copyright © 2010 by Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #ifndef __TT_PARAMETER_H__
18 #define __TT_PARAMETER_H__
19 
20 #include "TTBase.h"
21 
22 
23 class TTGRAPH_EXPORT TTParameter : public TTDataObjectBase {
24  TTCLASS_SETUP(TTParameter)
25 
26 public:
27  TTGraphObjectBasePtr mOwner;
28  TTSymbol mName;
29  TTFloat64 mRangeBottom;
30  TTFloat64 mRangeTop;
31  TTFloat64 mDefault;
32  TTSymbol mStyle;
33  TTFloat64 mValue;
34  TTDictionary mDictionary;
35 
36  // attribute accessors
37  TTErr setName(const TTValue& newValue);
38  TTErr setValue(const TTValue& newValue);
39 
40  // graph stuff
41  TTErr setOwner(TTGraphObjectBasePtr newOwner);
42  TTErr push(const TTDictionary& aDictionary);
43 };
44 
45 typedef TTParameter* TTParameterPtr;
46 
47 
48 #endif // __TT_PARAMETER_H__
The TTGraphObjectBase wraps a TTDSP object such that it is possible to build a dynamic graph of audio...
TTDataObjectBase is the base class for all data generating and processing objects.
double TTFloat64
64 bit floating point number
Definition: TTBase.h:188
A type that represents the key as a C-String and the value as a pointer to the matching TTSymbol obje...
Definition: TTDictionary.h:47
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
Definition: TTFoundation.h:54
Jamoma's lowest-level base class and related infrastructure.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
Definition: TTSymbol.h:26
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34