001/* *********************************************************************** * 002 * project: org.matsim.* 003 * QueueSimulationBeforeSimStepEventImpl 004 * * 005 * *********************************************************************** * 006 * * 007 * copyright : (C) 2009 by the members listed in the COPYING, * 008 * LICENSE and WARRANTY file. * 009 * email : info at matsim dot org * 010 * * 011 * *********************************************************************** * 012 * * 013 * This program is free software; you can redistribute it and/or modify * 014 * it under the terms of the GNU General Public License as published by * 015 * the Free Software Foundation; either version 2 of the License, or * 016 * (at your option) any later version. * 017 * See also COPYING, LICENSE and WARRANTY file * 018 * * 019 * *********************************************************************** */ 020package org.matsim.core.mobsim.framework.events; 021 022import org.matsim.core.mobsim.framework.Mobsim; 023 024 025/** 026 * @author dgrether 027 */ 028public class MobsimBeforeSimStepEvent<T extends Mobsim> extends AbstractMobsimEvent<T> { 029 030 private final double time; 031 032 public MobsimBeforeSimStepEvent(T queuesim, double time) { 033 super(queuesim); 034 this.time = time; 035 } 036 037 public double getSimulationTime() { 038 return this.time; 039 } 040}