#ifndef T2DLL_T2REQUESTARRAY_H #define T2DLL_T2REQUESTARRAY_H #include "../common.h" #include "T2ObjectArray.h" #include "T2Request.h" class AFX_CLASS_EXPORT T2RequestArray : public T2ObjectArray { public: T2RequestArray(unsigned int startID = 1000); virtual ~T2RequestArray(); virtual void DispatchIdle(T2TowerDoc*, int); T2Request* FindUnusedRequest(); void BreakoutEmergency(T2TowerDoc*); void Read(T2Archive&, T2TowerDoc*); void Write(T2Archive&); T2Request* GetIndexRequest(int i) { return &mRequests[i]; } protected: T2Request mRequests[64]; }; #endif