SUMO - Simulation of Urban MObility
TraCIServerAPI_Edge.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // APIs for getting/setting edge values via TraCI
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 #ifndef TraCIServerAPI_Edge_h
00022 #define TraCIServerAPI_Edge_h
00023 
00024 // ===========================================================================
00025 // included modules
00026 // ===========================================================================
00027 #ifdef _MSC_VER
00028 #include <windows_config.h>
00029 #else
00030 #include <config.h>
00031 #endif
00032 
00033 #ifndef NO_TRACI
00034 
00035 #include "TraCIException.h"
00036 #include "TraCIServer.h"
00037 #include <foreign/tcpip/storage.h>
00038 
00039 
00040 // ===========================================================================
00041 // class definitions
00042 // ===========================================================================
00047 class TraCIServerAPI_Edge {
00048 public:
00055     static bool processGet(traci::TraCIServer& server, tcpip::Storage& inputStorage,
00056                            tcpip::Storage& outputStorage);
00057 
00058 
00065     static bool processSet(traci::TraCIServer& server, tcpip::Storage& inputStorage,
00066                            tcpip::Storage& outputStorage);
00067 
00068 
00069 private:
00071     TraCIServerAPI_Edge(const TraCIServerAPI_Edge& s);
00072 
00074     TraCIServerAPI_Edge& operator=(const TraCIServerAPI_Edge& s);
00075 
00076 
00077 };
00078 
00079 
00080 #endif
00081 
00082 #endif
00083 
00084 /****************************************************************************/
00085 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines