Class KResourceUsage


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

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • 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 Detail

      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.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
      • getInternalPtr

        public com.artelys.kalis.SWIGTYPE_p_KResourceUsage_I getInternalPtr()