SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AGCar.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Cars owned by people of the city: included in households.
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
12
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
13
// activitygen module
14
// Copyright 2010 TUM (Technische Universitaet Muenchen, http://www.tum.de/)
15
/****************************************************************************/
16
//
17
// This file is part of SUMO.
18
// SUMO is free software: you can redistribute it and/or modify
19
// it under the terms of the GNU General Public License as published by
20
// the Free Software Foundation, either version 3 of the License, or
21
// (at your option) any later version.
22
//
23
/****************************************************************************/
24
#ifndef AGCAR_H
25
#define AGCAR_H
26
27
28
// ===========================================================================
29
// included modules
30
// ===========================================================================
31
#ifdef _MSC_VER
32
#include <
windows_config.h
>
33
#else
34
#include <
config.h
>
35
#endif
36
37
#include <iostream>
38
#include <string>
39
#include "
AGAdult.h
"
40
41
42
// ===========================================================================
43
// class definitions
44
// ===========================================================================
45
class
AGCar
{
46
public
:
47
AGCar
(std::string name) :
48
idName
(name) {};
49
AGCar
(
int
idHH,
int
idCar) :
50
idName
(
createName
(idHH, idCar)) {};
51
bool
associateTo
(
AGAdult
* pers);
52
bool
isAssociated
();
53
std::string
getName
();
54
55
private
:
56
std::string
createName
(
int
idHH,
int
idCar);
57
58
std::string
idName
;
59
AGAdult
*
currentUser
;
60
61
};
62
63
#endif
64
65
/****************************************************************************/
tmp
buildd
sumo-0.15.0~dfsg
src
activitygen
city
AGCar.h
Generated on Sun May 27 2012 14:52:03 for SUMO - Simulation of Urban MObility by
1.8.1