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
AGBus.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// A bus driving in the city
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12
// Copyright (C) 2001-2014 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 AGBUS_H
25
#define AGBUS_H
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
#ifdef _MSC_VER
31
#include <
windows_config.h
>
32
#else
33
#include <
config.h
>
34
#endif
35
36
#include <iostream>
37
#include <string>
38
39
40
// ===========================================================================
41
// class definitions
42
// ===========================================================================
43
class
AGBus
{
44
public
:
45
AGBus
(std::string
name
,
int
depTime) :
46
name(name),
47
departureTime
(depTime) {};
48
AGBus
(
int
depTime) :
49
departureTime
(depTime) {};
50
void
setName
(std::string
name
);
51
int
getDeparture
();
52
std::string
getName
();
53
void
print
();
54
55
private
:
56
std::string
name
;
57
int
departureTime
;
58
};
59
60
#endif
61
62
/****************************************************************************/
AGBus::AGBus
AGBus(std::string name, int depTime)
Definition:
AGBus.h:45
AGBus::getDeparture
int getDeparture()
Definition:
AGBus.cpp:48
windows_config.h
AGBus::departureTime
int departureTime
Definition:
AGBus.h:57
AGBus::name
std::string name
Definition:
AGBus.h:56
config.h
AGBus
Definition:
AGBus.h:43
AGBus::AGBus
AGBus(int depTime)
Definition:
AGBus.h:48
AGBus::setName
void setName(std::string name)
Definition:
AGBus.cpp:43
AGBus::print
void print()
Definition:
AGBus.cpp:58
AGBus::getName
std::string getName()
Definition:
AGBus.cpp:53
tmp
buildd
sumo-0.20.0+dfsg
src
activitygen
city
AGBus.h
Generated on Sat Mar 15 2014 16:04:13 for SUMO - Simulation of Urban MObility by
1.8.6