SUMO - Simulation of Urban MObility
RODFDetectorHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
10 // missing_desc
11 /****************************************************************************/
12 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
14 /****************************************************************************/
15 //
16 // This file is part of SUMO.
17 // SUMO is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 /****************************************************************************/
23 #ifndef RODFDetectorHandler_h
24 #define RODFDetectorHandler_h
25 
26 
27 // ===========================================================================
28 // included modules
29 // ===========================================================================
30 #ifdef _MSC_VER
31 #include <windows_config.h>
32 #else
33 #include <config.h>
34 #endif
35 
36 #include <string>
39 #include "RODFDetector.h"
40 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
50 public:
52  RODFDetectorHandler(RODFNet* optNet, bool ignoreErrors, RODFDetectorCon& con,
53  const std::string& file);
54 
56  virtual ~RODFDetectorHandler();
57 
58 protected:
60 
61 
69  void myStartElement(int element,
70  const SUMOSAXAttributes& attrs);
72 
73 private:
76 
79 
82 
83 
84 private:
87 
90 
91 };
92 
93 
94 #endif
95 
96 /****************************************************************************/
97 
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