00001 // LaneChangeEvent.h: interface for the LaneChangeEvent class. 00002 // 00004 00005 #if !defined(AFX_LANECHANGEEVENT_H__96B66F57_CE4E_4E26_A451_345709048732__INCLUDED_) 00006 #define AFX_LANECHANGEEVENT_H__96B66F57_CE4E_4E26_A451_345709048732__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "stdafx.h" 00013 #include "Vehicle.h" 00014 00017 class LaneChangeEvent 00018 { 00019 public: 00020 double getTime(); 00021 WORD getVehicleType(); 00022 bool getDirPos(); 00023 int getOriginLane(); 00024 int getPosition(); 00025 int getDestinationLane(); 00026 bool getChangeLeft(); 00027 LaneChangeEvent(int pos, int fromLane, int toLane, int type, bool left, bool dirPos, double time); 00028 virtual ~LaneChangeEvent(); 00029 00030 private: 00032 int m_EventPosition; 00034 int m_OriginLane; 00036 int m_DestinationLane; 00038 int m_VehType; 00040 bool m_MovingLeft; 00042 bool m_DirPos; 00044 double m_EventTime; 00045 }; 00046 00047 #endif // !defined(AFX_LANECHANGEEVENT_H__96B66F57_CE4E_4E26_A451_345709048732__INCLUDED_)