- Implemented a DampingMoment simulation listener example
authorrichardgraham <richardgraham@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 12 Sep 2012 07:44:13 +0000 (07:44 +0000)
committerrichardgraham <richardgraham@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 12 Sep 2012 07:44:13 +0000 (07:44 +0000)
commitc482637086621542ea78ba8818f315dce0a11dc2
treecead824a7137bd87291a45b1a693f1c453ad6152
parentc322e9329373aa7f0b071663874327da7e650082
- Implemented a DampingMoment simulation listener example
- Added ability for simulation listeners to reserve their own data types. To support this:
  -- All data types can now be found from just the OpenRocketDocument (reduces some code duplication also).
  -- Custom expressions rebuilt after loading from file in case they use a listeners reserved type
- Fixed (possibly unrelated) issue where datatypes would be deleted and re-made each step if a customexpression used a range or index subexpression

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@1021 180e2498-e6e9-4542-8430-84ac67f01cd8
12 files changed:
core/src/net/sf/openrocket/document/OpenRocketDocument.java
core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
core/src/net/sf/openrocket/simulation/FlightDataType.java
core/src/net/sf/openrocket/simulation/customexpression/CustomExpression.java
core/src/net/sf/openrocket/simulation/customexpression/CustomExpressionSimulationListener.java
core/src/net/sf/openrocket/simulation/customexpression/IndexExpression.java
core/src/net/sf/openrocket/simulation/customexpression/RangeExpression.java
core/src/net/sf/openrocket/simulation/listeners/AbstractSimulationListener.java
core/src/net/sf/openrocket/simulation/listeners/SimulationComputationListener.java
core/src/net/sf/openrocket/simulation/listeners/SimulationEventListener.java
core/src/net/sf/openrocket/simulation/listeners/SimulationListener.java
core/src/net/sf/openrocket/simulation/listeners/example/DampingMoment.java [new file with mode: 0644]