Inheritance diagram for PRESET:

Public Member Functions | |
Public virtual functions to notify about changes | |
| virtual void | set_samples_per_second (SAMPLE_SPECS::sample_rate_t v) |
Constructors and destructors | |
| PRESET (const std::string &formatted_string) | |
Public API functions | |
| virtual PRESET * | clone (void) const |
| Virtual method that clones the current object and returns a pointer to it. | |
| virtual PRESET * | new_expr (void) const |
| Virtual method that creates a new object of current type. | |
| virtual std::string | name (void) const |
| Object name used to identify the object type. | |
| virtual std::string | description (void) const |
| Object description. | |
| void | set_name (const std::string &v) |
| virtual void | init (SAMPLE_BUFFER *sbuf) |
| Prepares chain operator for processing. | |
| virtual void | process (void) |
| Processes sample data in the buffer passed to init(). | |
| virtual std::string | parameter_names (void) const |
| A comma-separated list of parameters names. | |
| virtual void | set_parameter (int param, parameter_t value) |
| virtual parameter_t | get_parameter (int param) const |
| Get parameter value. | |
| virtual void | parameter_description (int param, struct PARAM_DESCRIPTION *pd) const |
| An optional function for querying parameter descriptions. | |
| void | parse (const std::string &formatted_string) |
| Parse preset data from the formatted string given as argument. | |
| bool | is_parsed (void) const |
| Whether preset data has been parsed. | |
Kai Vehmanen
|
|
Virtual method that clones the current object and returns a pointer to it. This must be implemented by all subclasses! Implements OPERATOR. Reimplemented in FILE_PRESET, and GLOBAL_PRESET. |
|
|
Object description. Description should be short, informative and unformatted. Reimplemented from ECA_OBJECT. |
|
|
Get parameter value.
Implements DYNAMIC_PARAMETERS< SAMPLE_SPECS::sample_t >. |
|
|
Prepares chain operator for processing. Whenever attributes of the sample buffer pointed by 'sbuf' are changed, chain operator should be reinitialized with a new call to init().
Implements CHAIN_OPERATOR. |
|
|
Object name used to identify the object type. In most cases, object name is same for all class instances. Must be implemented in all subclasses. Implements ECA_OBJECT. |
|
|
Virtual method that creates a new object of current type. This must be implemented by all subclasses! Implements OPERATOR. Reimplemented in FILE_PRESET, and GLOBAL_PRESET. |
|
||||||||||||
|
An optional function for querying parameter descriptions. This is meant primarily for building generic user-interfaces. It's important to note that these values only serve as hints, they are not meant to be absolute.
Reimplemented from OPERATOR. |
|
|
A comma-separated list of parameters names. Derived classes must implement this. Implements DYNAMIC_PARAMETERS< SAMPLE_SPECS::sample_t >. |
|
|
Parse preset data from the formatted string given as argument. require: formatted_string.empty() == false ensure: is_parsed() == true |
1.4.1