//--------------------------------------------------------------------------- #ifndef exhaustCellMakerH #define exhaustCellMakerH //--------------------------------------------------------------------------- #include "exhaustCell.h" #include "cellMaker.h" #include "globals.h" class ExhaustCellMaker : public GrCellMaker { public: ExhaustCellMaker(float _IAM, float _IASD, float _CTONM, float _CTONSD, float _CTOGM, float _CTOGSD, float _APTOSTDM, float _APTOSTDSD, float _CNTSTDNTSTNDM, float _CNTSTDNTSTNDSD, float _EXHAUSTM, float _EXHAUSTSD, int _contStEx ) { IAM=_IAM; IASD=_IASD; CTONM=_CTONM; CTONSD=_CTONSD; CTOGM=_CTOGM; CTOGSD=_CTOGSD; APTOSTDM=_APTOSTDM; APTOSTDSD=_APTOSTDSD; CNTSTDNTSTNDM=_CNTSTDNTSTNDM; CNTSTDNTSTNDSD=_CNTSTDNTSTNDSD; EXHAUSTM=_EXHAUSTM; EXHAUSTSD=_EXHAUSTSD; contStEx=_contStEx; }; virtual pCell newCell(pAuditory pa, int xx,int yy) { return new ExhaustCell(pa,xx,yy, getGaussPosit(IAM, IASD), getGaussPosit(CTONM, CTONSD), getGaussPosit(CTOGM, CTOGSD), getGaussPosit(APTOSTDM, APTOSTDSD), getGaussPosit(CNTSTDNTSTNDM, CNTSTDNTSTNDSD), getGaussPosit(EXHAUSTM, EXHAUSTSD), contStEx ); }; protected: float IAM; float IASD; float CTONM; float CTONSD; float CTOGM; float CTOGSD; float APTOSTDM; float APTOSTDSD; float CNTSTDNTSTNDM; float CNTSTDNTSTNDSD; float EXHAUSTM,EXHAUSTSD; int contStEx; }; #endif