Package org.lemsml.jruntime
Class NativeType
- java.lang.Object
-
- org.lemsml.jruntime.NativeType
-
- All Implemented Interfaces:
RuntimeType
public class NativeType extends java.lang.Object implements RuntimeType
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Class
cptClass
(package private) java.lang.String
cptID
(package private) long
timeCounter
(package private) boolean
trackTime
-
Constructor Summary
Constructors Constructor Description NativeType(java.lang.String cid, java.lang.Class cls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTime(long dt)
void
enableTiming()
java.lang.String
getID()
long
getTotalTime()
StateRunnable
newStateRunnable()
-
-
-
Method Detail
-
getID
public java.lang.String getID()
- Specified by:
getID
in interfaceRuntimeType
-
enableTiming
public void enableTiming()
-
getTotalTime
public long getTotalTime()
-
addTime
public void addTime(long dt)
-
newStateRunnable
public StateRunnable newStateRunnable()
- Specified by:
newStateRunnable
in interfaceRuntimeType
-
-