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
/****************************************************************************/
10
// Class for writing Trip objects in a SUMO-route file.
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2010-2014 DLR (http://www.dlr.de/) and contributors
14
// activitygen module
15
// Copyright 2010 TUM (Technische Universitaet Muenchen, http://www.tum.de/)
16
/****************************************************************************/
17
//
18
// This file is part of SUMO.
19
// SUMO is free software: you can redistribute it and/or modify
20
// it under the terms of the GNU General Public License as published by
21
// the Free Software Foundation, either version 3 of the License, or
22
// (at your option) any later version.
23
//
24
/****************************************************************************/
25
#ifndef AGACTIVITYTRIPWRITER_H
26
#define AGACTIVITYTRIPWRITER_H
27
28
29
// ===========================================================================
30
// included modules
31
// ===========================================================================
32
#ifdef _MSC_VER
33
#include <
windows_config.h
>
34
#else
35
#include <
config.h
>
36
#endif
37
38
#include "
activities/AGTrip.h
"
39
#include <iostream>
40
#include <map>
41
#include <string>
42
#include <
utils/iodevices/OutputDevice.h
>
43
44
45
// ===========================================================================
46
// class definitions
47
// ===========================================================================
48
class
AGActivityTripWriter
{
49
public
:
50
AGActivityTripWriter
(
OutputDevice
& file) :
51
routes
(file) {
52
initialize
();
53
}
54
55
void
initialize
();
56
void
addTrip
(
AGTrip
trip);
57
58
private
:
59
OutputDevice
&
routes
;
60
std::map<std::string, std::string>
colors
;
61
62
void
vtypes
();
63
64
private
:
66
AGActivityTripWriter
(
const
AGActivityTripWriter
&);
67
69
AGActivityTripWriter
&
operator=
(
const
AGActivityTripWriter
&);
70
71
};
72
73
74
#endif
75
76
/****************************************************************************/
tmp
buildd
sumo-0.21.0+dfsg
src
activitygen
AGActivityTripWriter.h
Generated on Thu Nov 20 2014 19:49:52 for SUMO - Simulation of Urban MObility by
1.8.1.2