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