Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Group5/Sector.cpp

Go to the documentation of this file.
00001 #ifndef __J2K__Train__Sector_HPP__
00002 #define __J2K__Train__Sector_HPP__
00003 
00004 #include "resource.h"
00005 
00006 class Controller :public Thread{
00007 public:
00008   Controller();
00009   virtual ~Controller();
00010   int numberOfActiveTrains();
00011   void addTrain(int id);
00012   void findSuitation();
00013   void init();
00014 
00015 private:
00016   BOOL byPassTrain(); 
00017   BOOL parkTrain(); 
00018   void AllocateSector();
00019 
00020 private:
00021   Train* trains[NUMBER_OF_TRAINS];
00022   Track* track;
00023   int numOfActiveTrains;
00024   SUITATION suitation;
00025 };
00026 
00027 #endif

Generated on Sun Oct 14 18:46:42 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001