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
AGActivityTripWriter.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Class for writing Trip objects in a SUMO-route file.
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12
// Copyright (C) 2001-2013 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 AGACTIVITYTRIPWRITER_H
25
#define AGACTIVITYTRIPWRITER_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 "
activities/AGTrip.h
"
38
#include <iostream>
39
#include <map>
40
#include <string>
41
#include <
utils/iodevices/OutputDevice.h
>
42
43
44
// ===========================================================================
45
// class definitions
46
// ===========================================================================
47
class
AGActivityTripWriter
{
48
public
:
49
AGActivityTripWriter
(
OutputDevice
& file) :
50
routes
(file) {
51
initialize
();
52
}
53
54
void
initialize
();
55
void
addTrip
(
AGTrip
trip);
56
57
private
:
58
OutputDevice
&
routes
;
59
std::map<std::string, std::string>
colors
;
60
61
void
vtypes
();
62
63
private
:
65
AGActivityTripWriter
(
const
AGActivityTripWriter
&);
66
68
AGActivityTripWriter
&
operator=
(
const
AGActivityTripWriter
&);
69
70
};
71
72
73
#endif
74
75
/****************************************************************************/
home
delphi
sumo
src
activitygen
AGActivityTripWriter.h
Generated by
1.8.2