SUMO - Simulation of Urban MObility
Command.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
/****************************************************************************/
16
// Base (microsim) event class
17
/****************************************************************************/
18
#ifndef Command_h
19
#define Command_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <
utils/common/SUMOTime.h
>
28
#include <
utils/common/UtilExceptions.h
>
29
30
31
// ===========================================================================
32
// class definitions
33
// ===========================================================================
54
class
Command
{
55
public
:
57
Command
() { }
58
59
61
virtual
~Command
() { }
62
63
74
virtual
SUMOTime
execute
(
SUMOTime
currentTime) = 0;
75
76
77
};
78
79
80
#endif
81
82
/****************************************************************************/
83
Command::~Command
virtual ~Command()
Destructor.
Definition:
Command.h:61
SUMOTime
long long int SUMOTime
Definition:
SUMOTime.h:36
UtilExceptions.h
config.h
Command
Base (microsim) event class.
Definition:
Command.h:54
Command::execute
virtual SUMOTime execute(SUMOTime currentTime)=0
Executes the command.
Command::Command
Command()
Constructor.
Definition:
Command.h:57
SUMOTime.h
src
utils
common
Command.h
Generated on Sun Feb 3 2019 09:17:52 for SUMO - Simulation of Urban MObility by
1.8.13