Class KResourceUsage

java.lang.Object
com.artelys.kalis.KResourceUsage

public class KResourceUsage extends Object
A KResourceUsage object can be used to describe the a specific usage of a
given resource.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KResourceUsage

      protected KResourceUsage(long cPtr, boolean cMemoryOwn)
    • KResourceUsage

      public KResourceUsage(KResource resource, KIntArray pattern)
      Constructor

      Parameters:
      pattern - A time-specific resource usage
    • KResourceUsage

      public KResourceUsage(KResource resource, int value)
      Constructor

      Parameters:
      value - A time-constant resource usage
    • KResourceUsage

      public KResourceUsage(KResource resource, int usemin, int usemax)
      Constructor

      Parameters:
      usemin - Lower bound for the resource usage
      usemax - Upper bound for the resource usage
    • KResourceUsage

      public KResourceUsage(KResourceUsage toCopy)
      Copy constructor
  • Method Details

    • getCPtr

      protected static long getCPtr(KResourceUsage obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • print

      public void print(com.artelys.kalis.SWIGTYPE_p_void ctx, com.artelys.kalis.SWIGTYPE_p_f_p_void_p_q_const__char__int pfp)
      Pretty printing
    • print

      public void print()
      Pretty printing
    • getCopyPtr

      public KResourceUsage getCopyPtr()
    • getInternalPtr

      public com.artelys.kalis.SWIGTYPE_p_KResourceUsage_I getInternalPtr()