libAlgAudio  v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlgAudio::ParamTemplate Class Reference

#include <ModuleTemplate.hpp>

Public Types

enum  ParamAction { ParamAction::SC, ParamAction::Custom, ParamAction::None }
 
enum  ParamMode { ParamMode::Input, ParamMode::Output, ParamMode::None }
 
enum  ParamScale { ParamScale::Linear, ParamScale::Logarithmic }
 

Public Attributes

ParamAction action
 
float default_max
 
float default_min
 
float default_val
 
std::string id
 
ParamMode mode = ParamMode::Input
 
std::string name
 
ParamScale scale
 
float step = 0.0
 

Detailed Description

A template for creating params. Contains all data about a param that is loaded from module description file. All ParamControllers have a link to their corresponding template.

Member Enumeration Documentation

Enumerator
SC 
Custom 
None 
Enumerator
Input 
Output 
None 
Enumerator
Linear 
Logarithmic 

Member Data Documentation

ParamAction AlgAudio::ParamTemplate::action
float AlgAudio::ParamTemplate::default_max
float AlgAudio::ParamTemplate::default_min
float AlgAudio::ParamTemplate::default_val
std::string AlgAudio::ParamTemplate::id
ParamMode AlgAudio::ParamTemplate::mode = ParamMode::Input
std::string AlgAudio::ParamTemplate::name
ParamScale AlgAudio::ParamTemplate::scale
float AlgAudio::ParamTemplate::step = 0.0

The documentation for this class was generated from the following file: