SUMO - Simulation of Urban MObility
Command_SaveTLCoupledLaneDet.h
Go to the documentation of this file.
00001 /****************************************************************************/
00009 // Writes e2 state of a link for the time the link has yellow/red
00010 /****************************************************************************/
00011 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00012 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00013 /****************************************************************************/
00014 //
00015 //   This file is part of SUMO.
00016 //   SUMO is free software: you can redistribute it and/or modify
00017 //   it under the terms of the GNU General Public License as published by
00018 //   the Free Software Foundation, either version 3 of the License, or
00019 //   (at your option) any later version.
00020 //
00021 /****************************************************************************/
00022 #ifndef Command_SaveTLCoupledLaneDet_h
00023 #define Command_SaveTLCoupledLaneDet_h
00024 
00025 
00026 // ===========================================================================
00027 // included modules
00028 // ===========================================================================
00029 #ifdef _MSC_VER
00030 #include <windows_config.h>
00031 #else
00032 #include <config.h>
00033 #endif
00034 
00035 #include <microsim/MSLink.h>
00036 #include "Command_SaveTLCoupledDet.h"
00037 
00038 
00039 // ===========================================================================
00040 // class definitions
00041 // ===========================================================================
00048 class Command_SaveTLCoupledLaneDet : public Command_SaveTLCoupledDet {
00049 public:
00058     Command_SaveTLCoupledLaneDet(MSTLLogicControl::TLSLogicVariants& tlls,
00059                                  MSDetectorFileOutput* dtf, unsigned int begin, OutputDevice& device,
00060                                  MSLink* link);
00061 
00062 
00064     ~Command_SaveTLCoupledLaneDet();
00065 
00066 
00077     void execute();
00078 
00079 
00080 private:
00082     MSLink* myLink;
00083 
00085     LinkState myLastState;
00086 
00088     bool myHadOne;
00089 
00090 
00091 private:
00093     Command_SaveTLCoupledLaneDet(const Command_SaveTLCoupledLaneDet&);
00094 
00096     Command_SaveTLCoupledLaneDet& operator=(const Command_SaveTLCoupledLaneDet&);
00097 
00098 };
00099 
00100 
00101 #endif
00102 
00103 /****************************************************************************/
00104 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines