Eclipse 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-2019 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 /****************************************************************************/
17 // missing_desc
18 /****************************************************************************/
19 #ifndef RODFDetectorHandler_h
20 #define RODFDetectorHandler_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #include <config.h>
27 
28 #include <string>
31 #include "RODFDetector.h"
32 
33 
34 // ===========================================================================
35 // class definitions
36 // ===========================================================================
42 public:
44  RODFDetectorHandler(RODFNet* optNet, bool ignoreErrors, RODFDetectorCon& con,
45  const std::string& file);
46 
48  virtual ~RODFDetectorHandler();
49 
50 protected:
52 
53 
61  void myStartElement(int element,
62  const SUMOSAXAttributes& attrs);
64 
65 private:
68 
71 
74 
75 
76 private:
79 
82 
83 };
84 
85 
86 #endif
87 
88 /****************************************************************************/
89 
RODFDetectorHandler
SAX2-Handler for loading DFROUTER-detector definitions.
Definition: RODFDetectorHandler.h:41
RODFDetectorHandler::RODFDetectorHandler
RODFDetectorHandler(RODFNet *optNet, bool ignoreErrors, RODFDetectorCon &con, const std::string &file)
Constructor.
Definition: RODFDetectorHandler.cpp:42
RODFDetectorHandler::myContainer
RODFDetectorCon & myContainer
the container to put the detectors into
Definition: RODFDetectorHandler.h:73
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition: SUMOSAXHandler.h:41
OptionsCont.h
SUMOSAXHandler.h
RODFDetectorHandler::myIgnoreErrors
bool myIgnoreErrors
whether to ignore errors on parsing
Definition: RODFDetectorHandler.h:70
RODFDetector.h
RODFDetectorCon
A container for RODFDetectors.
Definition: RODFDetector.h:220
RODFDetectorHandler::~RODFDetectorHandler
virtual ~RODFDetectorHandler()
Destructor.
Definition: RODFDetectorHandler.cpp:48
RODFNet
A DFROUTER-network.
Definition: RODFNet.h:44
config.h
RODFDetectorHandler::myNet
RODFNet * myNet
the net
Definition: RODFDetectorHandler.h:67
SUMOSAXAttributes
Encapsulated SAX-Attributes.
Definition: SUMOSAXAttributes.h:56
RODFDetectorHandler::operator=
RODFDetectorHandler & operator=(const RODFDetectorHandler &src)
invalidated assignment operator
RODFDetectorHandler::myStartElement
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Definition: RODFDetectorHandler.cpp:52