view branches/carfac_cpp/include/Ear.h @ 564:9c4c3675c3f8

* 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 f3dde307f4b8
line wrap: on
line source
/*
 * 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_ */