Microscopic Traffic Simulator

- Main Page
- Packages
- Classes
- Files

- File List

SensorNode.cs
Go to the documentation of this file.
1 using Microscopic_Traffic_Simulator___Model.TrafficObjects;
2 using System;
3 using System.Windows;
4
5 namespace Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes
6 {
10 [Serializable]
11 public class SensorNode : InnerNode
12 {
16 private Sensor sensor;
20 public Sensor Sensor { get { return sensor; } }
21
28 public SensorNode(Point location, double t, Sensor sensor)
29 : base(location, t)
30 {
31 this.sensor = sensor;
32 }
33 }
34 }
System
Microscopic_Traffic_Simulator___Model.TrafficObjects.Sensor
Class representing sensor.
Definition: Sensor.cs:14
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.SensorNode
Node containing sensor.
Definition: SensorNode.cs:11
Microscopic_Traffic_Simulator___Model.TrafficObjects
Definition: Generator.cs:7
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.InnerNode
Node on the lane which is not the start or end node.
Definition: InnerNode.cs:10
Microscopic_Traffic_Simulator___Model
Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes.SensorNode.SensorNode
SensorNode(Point location, double t, Sensor sensor)
Initialization of the sensor node.
Definition: SensorNode.cs:28