diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/Ear.h	Sun May 20 22:36:47 2012 +0000
@@ -0,0 +1,35 @@
+/*
+ * Ear.h
+ *
+ *  Created on: 16 maj 2012
+ *      Author: ulha
+ */
+
+#ifndef EAR_H_
+#define EAR_H_
+
+#include "CAR.h"
+#include "IHC.h"
+#include "AGC.h"
+
+class Ear {
+public:
+  Ear(CAR_parameters*, IHC_parameters*, AGC_parameters*, FloatArray, int, float);
+
+  CAR_parameters car_params_;
+  IHC_parameters ihc_params_;
+  AGC_parameters agc_params_;
+
+  CAR_coefficients* car_coeffs_p_;
+  IHC_coefficients* ihc_coeffs_p_;
+  AGC_coefficients* agc_coeffs_p_;
+
+  virtual
+  ~Ear();
+
+private:
+  Ear();
+
+};
+
+#endif /* EAR_H_ */