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

Control.h

Go to the documentation of this file.
00001 #ifndef CONTROLLER_INCLUDED
00002 #define CONTROLLER_INCLUDED
00003 
00004 #include <odem.h>
00005 
00006 #include "RingFactory.h"
00007 #include "Loader.h"
00008 #include "Automation.h"
00009 #include "VehicleFromFurn.h"
00010 #include "SimringReport.h"
00011 
00012 const int Intial                        =  0;
00013 const int FrFrueh                       =  1;
00014 const int FrSpaet                       =  2;
00015 const int SaFrueh                       =  3;
00016 const int MoFrueh                       =  4;
00017 const int MoSpaet                       =  5;
00018 
00019 class Controller : public Discrete {
00020 public:
00021         RingFactory     *factory;               // erster Prozeß, der unterbrochen werden kann
00022         Loader                  *loader;                // zweiter Prozeß, der unterbrochen werden kann
00023         Automation              *automat;               // dritter Prozeß, der unterbrochen werden kann
00024         Bin                             *takeOff;               // Synchronisation mit Dispatcher                       
00025         SimringReport   *simreport;             // Report Objekt
00026         Count                   *realDays;              // Zählung der (Arbeits-)Tage
00027 
00028         virtual int main();
00029 
00030         Controller(char *n, RingFactory *f, Loader *l, Bin * tOff, Automation *a, 
00031                 SimringReport* r);
00032 };
00033 
00034 #endif
00035 

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