SUMO - Simulation of Urban MObility
RODFDetectorHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
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 //
11 /****************************************************************************/
20 // missing_desc
21 /****************************************************************************/
22 #ifndef RODFDetectorHandler_h
23 #define RODFDetectorHandler_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #include <string>
38 #include "RODFDetector.h"
39 
40 
41 // ===========================================================================
42 // class definitions
43 // ===========================================================================
49 public:
51  RODFDetectorHandler(RODFNet* optNet, bool ignoreErrors, RODFDetectorCon& con,
52  const std::string& file);
53 
55  virtual ~RODFDetectorHandler();
56 
57 protected:
59 
60 
68  void myStartElement(int element,
69  const SUMOSAXAttributes& attrs);
71 
72 private:
75 
78 
81 
82 
83 private:
86 
89 
90 };
91 
92 
93 #endif
94 
95 /****************************************************************************/
96 
virtual ~RODFDetectorHandler()
Destructor.
RODFNet * myNet
the net
SAX-handler base for SUMO-files.
A container for RODFDetectors.
Definition: RODFDetector.h:227
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
bool myIgnoreErrors
whether to ignore errors on parsing
Encapsulated SAX-Attributes.
A DFROUTER-network.
Definition: RODFNet.h:51
RODFDetectorCon & myContainer
the container to put the detectors into
SAX2-Handler for loading DFROUTER-detector definitions.
RODFDetectorHandler(RODFNet *optNet, bool ignoreErrors, RODFDetectorCon &con, const std::string &file)
Constructor.
RODFDetectorHandler & operator=(const RODFDetectorHandler &src)
invalidated assignment operator