SUMO - Simulation of Urban MObility
LineHandler.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
/****************************************************************************/
18
// Interface definition for a class which retrieves lines from a LineHandler
19
/****************************************************************************/
20
#ifndef LineHandler_h
21
#define LineHandler_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#ifdef _MSC_VER
28
#include <
windows_config.h
>
29
#else
30
#include <
config.h
>
31
#endif
32
33
#include <vector>
34
#include <string>
35
#include <
utils/common/UtilExceptions.h
>
36
37
38
// ===========================================================================
39
// class definitions
40
// ===========================================================================
51
class
LineHandler
{
52
public
:
54
LineHandler
() { }
55
56
58
virtual
~LineHandler
() { }
59
60
68
virtual
bool
report
(
const
std::string& result) = 0;
69
70
};
71
72
73
#endif
74
75
/****************************************************************************/
76
UtilExceptions.h
windows_config.h
LineHandler::report
virtual bool report(const std::string &result)=0
Method that obatins a line read by the LineReader.
config.h
LineHandler
Interface definition for a class which retrieves lines from a LineHandler.
Definition:
LineHandler.h:51
LineHandler::LineHandler
LineHandler()
constructor
Definition:
LineHandler.h:54
LineHandler::~LineHandler
virtual ~LineHandler()
(virtual) destructor
Definition:
LineHandler.h:58
src
utils
importio
LineHandler.h
Generated on Sun Dec 24 2017 17:07:43 for SUMO - Simulation of Urban MObility by
1.8.13