SUMO - Simulation of Urban MObility
ValueRetriever.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
/****************************************************************************/
15
//
16
/****************************************************************************/
17
#ifndef ValueRetriever_h
18
#define ValueRetriever_h
19
20
21
// ===========================================================================
22
// included modules
23
// ===========================================================================
24
#include <
config.h
>
25
26
27
// ===========================================================================
28
// class definitions
29
// ===========================================================================
33
template
<
typename
T>
34
class
ValueRetriever
{
35
public
:
36
ValueRetriever
() { }
37
virtual
~ValueRetriever
() { }
38
virtual
void
addValue
(T value) = 0;
39
40
};
41
42
43
#endif
44
45
/****************************************************************************/
46
ValueRetriever::ValueRetriever
ValueRetriever()
Definition:
ValueRetriever.h:36
config.h
ValueRetriever::~ValueRetriever
virtual ~ValueRetriever()
Definition:
ValueRetriever.h:37
ValueRetriever::addValue
virtual void addValue(T value)=0
ValueRetriever
Definition:
ValueRetriever.h:34
src
utils
common
ValueRetriever.h
Generated on Sat Nov 23 2019 06:08:23 for SUMO - Simulation of Urban MObility by
1.8.13