Mercurial > hg > aimc
annotate include/Ear.h @ 503:83cd5bbf2a3e carfac_cpp
* Added class Ear, and moved the CARFAC members AGC CAR IHC into Ear. CARFAC now holds an array of Ear. TBD what is best.
* Moved the files around, and introduced a makefile that builds unittests using GTest. (Note, GTest path is configured in makefile atm.).
- two moronic tests implemented. :)
author | Ulf.Hammarqvist@gmail.com |
---|---|
date | Sun, 20 May 2012 22:36:47 +0000 |
parents | |
children | 71e3794ececa |
rev | line source |
---|---|
Ulf@503 | 1 /* |
Ulf@503 | 2 * Ear.h |
Ulf@503 | 3 * |
Ulf@503 | 4 * Created on: 16 maj 2012 |
Ulf@503 | 5 * Author: ulha |
Ulf@503 | 6 */ |
Ulf@503 | 7 |
Ulf@503 | 8 #ifndef EAR_H_ |
Ulf@503 | 9 #define EAR_H_ |
Ulf@503 | 10 |
Ulf@503 | 11 #include "CAR.h" |
Ulf@503 | 12 #include "IHC.h" |
Ulf@503 | 13 #include "AGC.h" |
Ulf@503 | 14 |
Ulf@503 | 15 class Ear { |
Ulf@503 | 16 public: |
Ulf@503 | 17 Ear(CAR_parameters*, IHC_parameters*, AGC_parameters*, FloatArray, int, float); |
Ulf@503 | 18 |
Ulf@503 | 19 CAR_parameters car_params_; |
Ulf@503 | 20 IHC_parameters ihc_params_; |
Ulf@503 | 21 AGC_parameters agc_params_; |
Ulf@503 | 22 |
Ulf@503 | 23 CAR_coefficients* car_coeffs_p_; |
Ulf@503 | 24 IHC_coefficients* ihc_coeffs_p_; |
Ulf@503 | 25 AGC_coefficients* agc_coeffs_p_; |
Ulf@503 | 26 |
Ulf@503 | 27 virtual |
Ulf@503 | 28 ~Ear(); |
Ulf@503 | 29 |
Ulf@503 | 30 private: |
Ulf@503 | 31 Ear(); |
Ulf@503 | 32 |
Ulf@503 | 33 }; |
Ulf@503 | 34 |
Ulf@503 | 35 #endif /* EAR_H_ */ |