]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.simulation / src / org / simantics / simulation / experiment / IDynamicExperiment.java
index 6c5e60ee5e50d3a7541520534f4b04f2f7ca833b..19dba1ee9669feef5097d94a347f1e239ef9c6df 100644 (file)
@@ -1,54 +1,54 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
-package org.simantics.simulation.experiment;\r
-\r
-import org.simantics.simulation.data.Datasource;\r
-\r
-/**\r
- * An experiment that evolves in time.\r
- */\r
-public interface IDynamicExperiment extends IExperiment {\r
-\r
-       /**\r
-        * Starts or stops simulation depending on the\r
-        * parameter. \r
-        */\r
-       public void simulate(boolean enabled);\r
-\r
-       /**\r
-        * Simulates the experiment at lest the given period of time.\r
-        * Giving 0 as parameter simulates the experiment one 'step'.\r
-        * After the duration, the simulation is stopped.\r
-        */\r
-       public void simulateDuration(double duration);\r
-\r
-       /**\r
-        * Sets the simulation time to some time instance before\r
-        * the given time. Simulator continues running if it\r
-        * was already running before rewind. Many simulators don't \r
-        * support arbitrary rewinds and therefore reinitialize \r
-        * simulation and begin at zero.\r
-        */\r
-       public void rewindTo(double time);\r
-\r
-       /**\r
-        * Ensure that the current state of the experiment at the time of invocation\r
-        * is stored so that it can be returned to during a later session.\r
-        */\r
-       void saveState();\r
-\r
-       /**\r
-        * Get data source for history collection purposes.\r
-        */\r
-       Datasource getDatasource();\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
+package org.simantics.simulation.experiment;
+
+import org.simantics.simulation.data.Datasource;
+
+/**
+ * An experiment that evolves in time.
+ */
+public interface IDynamicExperiment extends IExperiment {
+
+       /**
+        * Starts or stops simulation depending on the
+        * parameter. 
+        */
+       public void simulate(boolean enabled);
+
+       /**
+        * Simulates the experiment at lest the given period of time.
+        * Giving 0 as parameter simulates the experiment one 'step'.
+        * After the duration, the simulation is stopped.
+        */
+       public void simulateDuration(double duration);
+
+       /**
+        * Sets the simulation time to some time instance before
+        * the given time. Simulator continues running if it
+        * was already running before rewind. Many simulators don't 
+        * support arbitrary rewinds and therefore reinitialize 
+        * simulation and begin at zero.
+        */
+       public void rewindTo(double time);
+
+       /**
+        * Ensure that the current state of the experiment at the time of invocation
+        * is stored so that it can be returned to during a later session.
+        */
+       void saveState();
+
+       /**
+        * Get data source for history collection purposes.
+        */
+       Datasource getDatasource();
+
+}