10 #ifndef __evaluate_Function_h__ 11 #define __evaluate_Function_h__ 18 class FE_DL_EXPORT Multiply :
virtual public RealFunction
23 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
26 class FE_DL_EXPORT Add :
virtual public RealFunction
31 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
34 class FE_DL_EXPORT Subtract :
virtual public RealFunction
39 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
42 class FE_DL_EXPORT Divide :
virtual public RealFunction
47 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
50 class FE_DL_EXPORT AbsoluteValue :
virtual public RealFunction
53 AbsoluteValue(
void) {}
54 ~AbsoluteValue(
void) {}
55 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
58 class FE_DL_EXPORT AsSmooth :
60 public Initialize<AsSmooth>
65 add(value, FE_SPEC(
"eval:value",
"node return value"));
66 add(dummy, FE_SPEC(
"eval:dummy",
"dummy"));
68 Accessor<t_eval_real> value;
72 class FE_DL_EXPORT Smooth :
73 virtual public FunctionI,
74 public Initialize<Smooth>
83 void initialize(
void);
85 virtual bool compile(sp<RecordGroup> a_rg, Record &a_return, t_stdvector<WeakRecord> &a_argv, t_stdstring &a_msg);
86 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
87 virtual sp<Aggregate> &returnType(
void) {
return m_aggregate; }
89 t_eval_real m_smoothed;
90 sp<AsSmooth> m_asSmooth;
91 sp<Aggregate> m_aggregate;
95 class FE_DL_EXPORT Compressor :
virtual public RealFunction
103 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
107 class FE_DL_EXPORT SoftClipper :
virtual public RealFunction
113 ~SoftClipper(
void) {}
114 virtual void eval(Record &a_return, t_stdvector<WeakRecord> &a_argv);
119 this->factories()[
"print"] = &(PrintVal::create);
120 this->factories()[
"histogram"] = &(Histogram::create);
121 this->factories()[
"signal_scale"] = &(SignalScale::create);
122 this->factories()[
"hard_clip"] = &(HardClipper::create);
123 this->factories()[
"soft_clip"] = &(SoftClipper::create);
124 this->factories()[
"antijolt"] = &(AntiJolt::create);
125 this->factories()[
"antijolt2"] = &(AntiJolt2::create);
126 this->factories()[
"antivibe"] = &(AntiVibe::create);
127 this->factories()[
"spring"] = &(Spring::create);
128 this->factories()[
"relative"] = &(RelativeGain::create);
129 this->factories()[
"compressor"] = &(Compressor::create);
130 this->factories()[
"scoop"] = &(Scoop::create);
131 this->factories()[
"tighten"] = &(TightenCenter::create);
132 this->factories()[
"drag"] = &(BaseDrag::create);
133 this->factories()[
"bumpstop"] = &(BumpStop::create);
134 this->factories()[
"power"] = &(Power::create);
135 this->factories()[
"linkage"] = &(Linkage::create);
136 this->factories()[
"limiter"] = &(Limiter::create);
137 this->factories()[
"jerk"] = &(Jerk::create);
138 this->factories()[
"oscillator"] = &(Oscillator::create);
139 this->factories()[
"split"] = &(Split::create);
140 this->factories()[
"safety"] = &(Safety::create);
141 this->factories()[
"anti_drag"] = &(AntiDrag::create);
142 this->factories()[
"enhance"] = &(Enhance::create);
143 this->factories()[
"abs"] = &(AbsFun::create);
144 this->factories()[
"min"] = &(MinFun::create);
145 this->factories()[
"max"] = &(MaxFun::create);
146 this->factories()[
"if"] = &(IfFun::create);
147 this->factories()[
"LT"] = &(LessThan::create);
148 this->factories()[
"blend"] = &(BlendFun::create);
149 this->factories()[
"crossover"] = &(CrossoverFun::create);
150 this->factories()[
"up"] = &(Up::create);
151 this->factories()[
"dn"] = &(Dn::create);
152 this->factories()[
"ctr"] = &(Center::create);
153 this->factories()[
"save_channel"] = &(SaveChannel::create);
154 this->factories()[
"load_channel"] = &(LoadChannel::create);
kernel
Definition: namespace.dox:3