//--------------------------------------------------------------------------- #ifndef dynamicRestandCellMakerH #define dynamicRestandCellMakerH //--------------------------------------------------------------------------- #include "cellMaker.h" #include "dynamicRestandCell.h" class DynamicRestandCellMaker : public GrCellMaker { public: DynamicRestandCellMaker(float _IAM, float _IASD, float _CTONM, float _CTONSD, float _CTOGM, float _CTOGSD, float _APTOSTDM, float _APTOSTDSD, float _CNTSTDNTSTNDM, float _CNTSTDNTSTNDSD, float _EXHAUSTM, float _EXHAUSTSD, float _RESTANDM, float _RESTANDSD, 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; RESTANDM= _RESTANDM; RESTANDSD= _RESTANDSD; contStEx=_contStEx; }; virtual pCell newCell(pAuditory pa, int xx,int yy) { return new DynamicRestandCell(pa,xx,yy, IAM, IASD, CTONM, CTONSD, CTOGM, CTOGSD, APTOSTDM, APTOSTDSD, CNTSTDNTSTNDM, CNTSTDNTSTNDSD, EXHAUSTM, EXHAUSTSD, RESTANDM, RESTANDSD, 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; float RESTANDM,RESTANDSD; int contStEx; }; #endif