- Main Page
- Modules
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# CarSource Class Reference

`#include <CarSource.h>`

Inheritance diagram for CarSource:

List of all members.

## Public Member Functions
| CarSource (Sector *sector, CarType carType, const Vector3r &pos, const dReal dir, unsigned limit, unsigned wait)
virtual | ~CarSource ()
virtual void | initialize ()
virtual void | computeStep ()
virtual void | performStep ()
virtual std::string | toString () const
## Private Attributes
Sector * | _sector
CarType | _carType
Vector3r | _pos
dReal | _dir
unsigned | _limit
unsigned | _wait
unsigned | _timer

## Constructor & Destructor Documentation

CarSource::CarSource | ( | Sector * | sector,
|  | CarType | carType,
|  | const Vector3r & | pos,
|  | const dReal | dir,
|  | unsigned | limit,
|  | unsigned | wait |
| ) |  |  |

CarSource::~CarSource | ( |  | ) | `[virtual]`

## Member Function Documentation

void CarSource::computeStep | ( |  | ) | `[virtual]`

Implements Animated.

void CarSource::initialize | ( |  | ) | `[virtual]`

Implements Animated.

void CarSource::performStep | ( |  | ) | `[virtual]`

Implements Animated.

std::string CarSource::toString | ( |  | ) | const`[virtual]`

Implements SimulationObject.

## Member Data Documentation

CarType CarSource::_carType`[private]`

dReal CarSource::_dir`[private]`

unsigned CarSource::_limit`[private]`

Vector3r CarSource::_pos`[private]`

Sector* CarSource::_sector`[private]`

unsigned CarSource::_timer`[private]`

unsigned CarSource::_wait`[private]`

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

- src/sim/CarSource.h
- src/sim/CarSource.cpp