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
Command_SaveTLCoupledDet.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Writes e2 state on each tls switch
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef Command_SaveTLCoupledDet_h
22
#define Command_SaveTLCoupledDet_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <string>
35
#include <
microsim/MSNet.h
>
36
#include <
microsim/traffic_lights/MSTLLogicControl.h
>
37
38
39
// ===========================================================================
40
// class declarations
41
// ===========================================================================
42
class
MSNet
;
43
class
MSTrafficLightLogic
;
44
class
MSDetectorFileOutput
;
45
class
OutputDevice
;
46
47
48
// ===========================================================================
49
// class definitions
50
// ===========================================================================
57
class
Command_SaveTLCoupledDet
:
public
MSTLLogicControl::OnSwitchAction
{
58
public
:
66
Command_SaveTLCoupledDet
(
MSTLLogicControl::TLSLogicVariants
& tlls,
67
MSDetectorFileOutput
* dtf,
unsigned
int
begin,
OutputDevice
& device);
68
69
71
virtual
~Command_SaveTLCoupledDet
();
72
73
82
virtual
void
execute
();
83
84
85
protected
:
87
OutputDevice
&
myDevice
;
88
90
const
MSTLLogicControl::TLSLogicVariants
&
myLogics
;
91
93
MSDetectorFileOutput
*
myDetector
;
94
96
SUMOTime
myStartTime
;
97
98
99
private
:
101
Command_SaveTLCoupledDet
(
const
Command_SaveTLCoupledDet
&);
102
104
Command_SaveTLCoupledDet
&
operator=
(
const
Command_SaveTLCoupledDet
&);
105
106
};
107
108
109
#endif
110
111
/****************************************************************************/
112
home
gladk
tmp
05
sumo-0.17.1~dfsg
src
microsim
actions
Command_SaveTLCoupledDet.h
Generated on Sun Jun 16 2013 07:07:00 for SUMO - Simulation of Urban MObility by
1.8.1.2