Package com.artelys.kalis
Class KResourceUsage
- java.lang.Object
-
- com.artelys.kalis.KResourceUsage
-
public class KResourceUsage extends java.lang.ObjectA KResourceUsage object can be used to describe the a specific usage of a
given resource.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedKResourceUsage(long cPtr, boolean cMemoryOwn)KResourceUsage(KResource resource, int value)Constructor
KResourceUsage(KResource resource, int usemin, int usemax)Constructor
KResourceUsage(KResource resource, KIntArray pattern)Constructor
KResourceUsage(KResourceUsage toCopy)Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()KResourceUsagegetCopyPtr()protected static longgetCPtr(KResourceUsage obj)com.artelys.kalis.SWIGTYPE_p_KResourceUsage_IgetInternalPtr()voidprint()Pretty printingvoidprint(com.artelys.kalis.SWIGTYPE_p_void ctx, com.artelys.kalis.SWIGTYPE_p_f_p_void_p_q_const__char__int pfp)Pretty printing
-
-
-
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 usageusemax- Upper bound for the resource usage
-
KResourceUsage
public KResourceUsage(KResourceUsage toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KResourceUsage obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.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
-
getCopyPtr
public KResourceUsage getCopyPtr()
-
getInternalPtr
public com.artelys.kalis.SWIGTYPE_p_KResourceUsage_I getInternalPtr()
-
-