Class SimulationProcessor<T extends DigitalTwinBase>
java.lang.Object
com.scaleoutsoftware.digitaltwin.core.SimulationProcessor<T>
- Type Parameters:
T
- the type of the digital twin.
- All Implemented Interfaces:
Serializable
public abstract class SimulationProcessor<T extends DigitalTwinBase>
extends Object
implements Serializable
Processes simulation events for a digital twin.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ProcessingResult
processModel
(ProcessingContext context, T instance, Date epoch) Processes simulation events for a real-time digital twin.
-
Constructor Details
-
SimulationProcessor
public SimulationProcessor()
-
-
Method Details
-
processModel
Processes simulation events for a real-time digital twin.- Parameters:
context
- the processing context.instance
- the digital twin instance.epoch
- the current time of the simulation.- Returns:
ProcessingResult.UpdateDigitalTwin
to update the digital twin, orProcessingResult.NoUpdate
to ignore the changes.
-