Class DataRootContainerDelegate

All Implemented Interfaces:
ContainerDelegateAPI, DefaultDelegateAPI

public class DataRootContainerDelegate extends CodeRootContainerDelegate implements DefaultDelegateAPI
Basic data code root base class.
  • Constructor Details

    • DataRootContainerDelegate

      public DataRootContainerDelegate()
  • Method Details

    • init

      public void init()
      Hook called whenever the delegate needs to be initialized. Will be called when the root is started, and any time the code is updated. Because this code is called in a running root, the code should be suitable for real-time usage.
      Overrides:
      init in class CodeRootContainerDelegate
    • starting

      public void starting()
      Hook called whenever the root is started. This method will be called after init(). It is not called on code updates.
    • update

      public void update()
      Hook called on every clock update. This will vary depending on the root the component is installed into - it may correspond to every buffer or frame. If a component reacts solely to input and doesn't need to be called every cycle, do not override this method so that the delegate does not have to be connected to the clock (for efficiency).
    • stopping

      public void stopping()
      Hook called when the root is stopping.