00001 /*************************************************************************** 00002 destination.h - description 00003 ------------------- 00004 begin : dim mai 16 2004 00005 copyright : (C) 2004-2006 by Duong-Khang NGUYEN 00006 email : neoneurone @ users sourceforge net 00007 00008 $Id: destination.h 41 2006-09-10 11:43:28Z neoneurone $ 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef _OPENCITY_DESTINATION_H 00021 #define _OPENCITY_DESTINATION_H 1 00022 00023 #include "main.h" 00024 00025 00026 //======================================================================== 00031 class Destination { 00032 public: 00033 OPENCITY_DIRECTION _eDir ; 00034 uint _uiW; 00035 uint _uiL; 00036 int _iHMin, _iHMax; 00037 uint _uiTime; 00038 OC_UBYTE _ubTraffic; 00039 00040 00041 Destination(); 00042 ~Destination(); 00043 00044 00045 /*=====================================================================*/ 00046 /* STATIC METHODS */ 00047 /*=====================================================================*/ 00048 00049 //======================================================================== 00056 static OPENCITY_DIRECTION 00057 GetDir( 00058 const Destination & rcA, 00059 const Destination & rcB); 00060 }; 00061 00062 #endif 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095
1.4.2