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-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
// Base (microsim) event class
19
/****************************************************************************/
20
#ifndef Command_h
21
#define Command_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 <
utils/common/SUMOTime.h
>
34
#include <
utils/common/UtilExceptions.h
>
35
36
37
// ===========================================================================
38
// class definitions
39
// ===========================================================================
60
class
Command
{
61
public
:
63
Command
() { }
64
65
67
virtual
~Command
() { }
68
69
80
virtual
SUMOTime
execute
(
SUMOTime
currentTime) = 0;
81
82
83
};
84
85
86
#endif
87
88
/****************************************************************************/
89
Command::~Command
virtual ~Command()
Destructor.
Definition:
Command.h:67
UtilExceptions.h
windows_config.h
config.h
Command
Base (microsim) event class.
Definition:
Command.h:60
Command::execute
virtual SUMOTime execute(SUMOTime currentTime)=0
Executes the command.
Command::Command
Command()
Constructor.
Definition:
Command.h:63
SUMOTime
long long int SUMOTime
Definition:
TraCIDefs.h:51
SUMOTime.h
src
utils
common
Command.h
Generated on Mon Aug 27 2018 10:28:23 for SUMO - Simulation of Urban MObility by
1.8.13