JS: remove Simulation::getInternalTicks whch is no longer used

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: fold error handling into only exception area in Process

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move error handling into EventManager and out of Process

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: use common parsing code in DoubleListInput and DoubleTableInput

The common helpers already deal with optional units and testing the counts is
easier if only the post-parsed values are checked.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Properly track VAOs so they can be destroyed on GL context close

This fixes a hard crash on intel drivers.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Convert DoubleCalculation to be a SampleProvider

Instead of passing values as Outputs, they are passed using getNextSample(simTime)
Allows constants, time series, and probability distributions to be used as
inputs to DoubleCalculations.

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Delete the CalculationObject "ConstantValue"

ConstantValue is no longer needed now that CalculationObjects can accept
any SampleProvider as an input, including a numerical constant.

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename DoubleCalculation input object "inputValueInput" to "inputValue"

Less confusing name for this input.

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for Controller

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for Integrator

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for Lag

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for MovingAverage

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for PIDController

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for Polynomial

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for Sensor

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for WaveGenerator

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for WeightedSum

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename input objects for CalculationEntity

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Allow asynchronous updating of DoubleCalculation

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Allow asynchronous updating of BooleanCalculation

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>