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-2018 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
18 // missing_desc
19 /****************************************************************************/
20 #ifndef RODFDetectorHandler_h
21 #define RODFDetectorHandler_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #include <config.h>
28 
29 #include <string>
32 #include "RODFDetector.h"
33 
34 
35 // ===========================================================================
36 // class definitions
37 // ===========================================================================
43 public:
45  RODFDetectorHandler(RODFNet* optNet, bool ignoreErrors, RODFDetectorCon& con,
46  const std::string& file);
47 
49  virtual ~RODFDetectorHandler();
50 
51 protected:
53 
54 
62  void myStartElement(int element,
63  const SUMOSAXAttributes& attrs);
65 
66 private:
69 
72 
75 
76 
77 private:
80 
83 
84 };
85 
86 
87 #endif
88 
89 /****************************************************************************/
90 
virtual ~RODFDetectorHandler()
Destructor.
RODFNet * myNet
the net
SAX-handler base for SUMO-files.
A container for RODFDetectors.
Definition: RODFDetector.h:221
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:45
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