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
/****************************************************************************/
19
// Class for writing Trip objects in a SUMO-route file.
20
/****************************************************************************/
21
#ifndef AGACTIVITYTRIPWRITER_H
22
#define AGACTIVITYTRIPWRITER_H
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#include <
config.h
>
29
30
// ===========================================================================
31
// class declarations
32
// ===========================================================================
33
class
OutputDevice
;
34
class
AGTrip
;
35
36
37
// ===========================================================================
38
// class definitions
39
// ===========================================================================
40
class
AGActivityTripWriter
{
41
public
:
42
AGActivityTripWriter
(
OutputDevice
& file);
43
44
void
addTrip
(
const
AGTrip
& trip);
45
46
private
:
47
OutputDevice
&
myTripOutput
;
48
49
private
:
51
AGActivityTripWriter
(
const
AGActivityTripWriter
&);
52
54
AGActivityTripWriter
&
operator=
(
const
AGActivityTripWriter
&);
55
56
};
57
58
59
#endif
60
61
/****************************************************************************/
AGTrip
Definition:
AGTrip.h:40
OutputDevice
Static storage of an output device and its base (abstract) implementation.
Definition:
OutputDevice.h:63
AGActivityTripWriter::AGActivityTripWriter
AGActivityTripWriter(OutputDevice &file)
Definition:
AGActivityTripWriter.cpp:37
AGActivityTripWriter::addTrip
void addTrip(const AGTrip &trip)
Definition:
AGActivityTripWriter.cpp:55
AGActivityTripWriter::operator=
AGActivityTripWriter & operator=(const AGActivityTripWriter &)
Invalidated assignment operator.
AGActivityTripWriter
Definition:
AGActivityTripWriter.h:40
AGActivityTripWriter::myTripOutput
OutputDevice & myTripOutput
Definition:
AGActivityTripWriter.h:47
config.h
src
activitygen
AGActivityTripWriter.h
Generated on Sun Jun 21 2020 23:18:41 for Eclipse SUMO - Simulation of Urban MObility by
1.8.17