Eclipse 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-2019 German Aerospace Center (DLR) and others.
4
// activitygen module
5
// Copyright 2010 TUM (Technische Universitaet Muenchen, http://www.tum.de/)
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
// SPDX-License-Identifier: EPL-2.0
11
/****************************************************************************/
20
// Class for writing Trip objects in a SUMO-route file.
21
/****************************************************************************/
22
#ifndef AGACTIVITYTRIPWRITER_H
23
#define AGACTIVITYTRIPWRITER_H
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#include <
config.h
>
30
31
// ===========================================================================
32
// class declarations
33
// ===========================================================================
34
class
OutputDevice
;
35
class
AGTrip
;
36
37
38
// ===========================================================================
39
// class definitions
40
// ===========================================================================
41
class
AGActivityTripWriter
{
42
public
:
43
AGActivityTripWriter
(
OutputDevice
& file);
44
45
void
addTrip
(
const
AGTrip
& trip);
46
47
private
:
48
OutputDevice
&
myTripOutput
;
49
50
private
:
52
AGActivityTripWriter
(
const
AGActivityTripWriter
&);
53
55
AGActivityTripWriter
&
operator=
(
const
AGActivityTripWriter
&);
56
57
};
58
59
60
#endif
61
62
/****************************************************************************/
AGTrip
Definition:
AGTrip.h:41
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition:
OutputDevice.h:64
AGActivityTripWriter::AGActivityTripWriter
AGActivityTripWriter(OutputDevice &file)
Definition:
AGActivityTripWriter.cpp:38
AGActivityTripWriter::addTrip
void addTrip(const AGTrip &trip)
Definition:
AGActivityTripWriter.cpp:56
AGActivityTripWriter::operator=
AGActivityTripWriter & operator=(const AGActivityTripWriter &)
Invalidated assignment operator.
AGActivityTripWriter
Definition:
AGActivityTripWriter.h:41
AGActivityTripWriter::myTripOutput
OutputDevice & myTripOutput
Definition:
AGActivityTripWriter.h:48
config.h
src
activitygen
AGActivityTripWriter.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16