Car Class Reference

A class representing a car vehicle. More...

#include <Car.h>

Inheritance diagram for Car:

Inheritance graph
[legend]
Collaboration diagram for Car:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Car ()
 Constructor.
virtual ~Car ()
 Default Destructor.

Static Private Attributes

static int m_index = 0


Detailed Description

A class representing a car vehicle.

Definition at line 9 of file Car.h.


Constructor & Destructor Documentation

Car::Car (  ) 

Constructor.

Definition at line 10 of file Car.cpp.

References Vehicle::m_ID, Vehicle::m_Tdelay, and VEH_ID_CAR.

00011 {
00012         m_Tdelay = 0.0;
00013         m_ID = VEH_ID_CAR;
00014 }

Car::~Car (  )  [virtual]

Default Destructor.

Definition at line 17 of file Car.cpp.

References Vehicle::m_vAxles.

00018 {
00019         for(int i = 0; i < m_vAxles.size(); i++)
00020                 delete m_vAxles.at(i);
00021         m_vAxles.clear();
00022 }


Member Data Documentation

int Car::m_index = 0 [static, private]

Definition at line 18 of file Car.h.


The documentation for this class was generated from the following files:

Generated on Wed Aug 20 00:48:42 2008 for EvolveTraffic by  doxygen 1.5.6