SUMO - Simulation of Urban MObility
AGActivityTripWriter.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2010-2017 German Aerospace Center (DLR) and others.
4
// activitygen module
5
// Copyright 2010 TUM (Technische Universitaet Muenchen, http://www.tum.de/)
6
/****************************************************************************/
7
//
8
// This program and the accompanying materials
9
// are made available under the terms of the Eclipse Public License v2.0
10
// which accompanies this distribution, and is available at
11
// http://www.eclipse.org/legal/epl-v20.html
12
//
13
/****************************************************************************/
22
// Class for writing Trip objects in a SUMO-route file.
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
// ===========================================================================
38
// class declarations
39
// ===========================================================================
40
class
OutputDevice
;
41
class
AGTrip
;
42
43
44
// ===========================================================================
45
// class definitions
46
// ===========================================================================
47
class
AGActivityTripWriter
{
48
public
:
49
AGActivityTripWriter
(
OutputDevice
& file);
50
51
void
addTrip
(
const
AGTrip
& trip);
52
53
private
:
54
OutputDevice
&
myTripOutput
;
55
56
private
:
58
AGActivityTripWriter
(
const
AGActivityTripWriter
&);
59
61
AGActivityTripWriter
&
operator=
(
const
AGActivityTripWriter
&);
62
63
};
64
65
66
#endif
67
68
/****************************************************************************/
AGActivityTripWriter::operator=
AGActivityTripWriter & operator=(const AGActivityTripWriter &)
Invalidated assignment operator.
AGActivityTripWriter
Definition:
AGActivityTripWriter.h:47
AGActivityTripWriter::myTripOutput
OutputDevice & myTripOutput
Definition:
AGActivityTripWriter.h:54
windows_config.h
config.h
AGActivityTripWriter::AGActivityTripWriter
AGActivityTripWriter(OutputDevice &file)
Definition:
AGActivityTripWriter.cpp:44
AGActivityTripWriter::addTrip
void addTrip(const AGTrip &trip)
Definition:
AGActivityTripWriter.cpp:62
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition:
OutputDevice.h:70
AGTrip
Definition:
AGTrip.h:47
src
activitygen
AGActivityTripWriter.h
Generated on Fri Jun 29 2018 13:14:36 for SUMO - Simulation of Urban MObility by
1.8.13