-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
An interface needs to be provided to allow java objects to be adapted into Native objects, for use in Native methods.
Adaptable objects should be able to accept an Adapter, and call Adapter.trigger(int) when a class property is changed. This allows the adapter to listen for changes and apply them to the native mirror of the base class.
To give an example, Profile requires setters and getters for the goal setpoint, timeslice and limits. If no hooks are provided, the native version of this object cannot function properly without making constant, costly callbacks to the JVM
Metadata
Metadata
Assignees
Labels
No labels