SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RONode.h
Go to the documentation of this file.
1
/****************************************************************************/
8
// Base class for nodes used by the router
9
/****************************************************************************/
10
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
11
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
12
/****************************************************************************/
13
//
14
// This file is part of SUMO.
15
// SUMO is free software: you can redistribute it and/or modify
16
// it under the terms of the GNU General Public License as published by
17
// the Free Software Foundation, either version 3 of the License, or
18
// (at your option) any later version.
19
//
20
/****************************************************************************/
21
#ifndef RONode_h
22
#define RONode_h
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include <string>
35
#include <
utils/common/Named.h
>
36
#include <
utils/geom/Position.h
>
37
38
39
// ===========================================================================
40
// class definitions
41
// ===========================================================================
46
class
RONode
:
public
Named
{
47
public
:
51
RONode
(
const
std::string&
id
);
52
53
55
~RONode
();
56
57
61
void
setPosition
(
const
Position
& p);
62
63
67
const
Position
&
getPosition
() {
68
return
myPosition
;
69
}
70
71
72
private
:
74
Position
myPosition
;
75
76
77
private
:
79
RONode
(
const
RONode
& src);
80
82
RONode
&
operator=
(
const
RONode
& src);
83
84
};
85
86
87
#endif
88
89
/****************************************************************************/
90
build
buildd
sumo-0.17.1~dfsg
src
router
RONode.h
Generated on Sun Jun 16 2013 17:30:19 for SUMO - Simulation of Urban MObility by
1.8.3.1