Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

SimringReport.h

Go to the documentation of this file.
00001 #ifndef SIMRINGREPORT_INCLUDED
00002 #define SIMRINGREPORT_INCLUDED
00003 
00004 #include <odem.h>
00005 #include <fstream>
00006 
00007 #include "Listener.h"
00008 
00009 class SimringReport {
00010         std::ofstream reportFile;       
00011         Buff_head* pInputBuffer;
00012         //Steelworks::Setup* pSetup;
00013 
00014 public:
00015         //SimringReport(std::string strFileName, Buff_head* pBuff, Steelworks::Setup* pS);
00016         SimringReport(std::string strFileName, Buff_head* pBuff);
00017         virtual ~SimringReport();       
00018         void update();
00019 
00020         // Rueckstau
00021         void putPallet();
00022         void takePallet();
00023         int waiting() { return waitingPallets; }
00024 
00025 private:
00026         virtual void report_head();
00027         virtual void report();
00028         virtual void report_tail();
00029 
00030         // Rueckstau
00031         int waitingPallets;
00032         int maxWaitingPallets;
00033         int rMaxWaitingPallets;
00034 };
00035 
00036 #endif
00037 

Generated on Tue Apr 26 14:42:42 2005 for rollingmill by doxygen 1.3.6