public class ImcData
extends java.lang.Object
Constructor and Description |
---|
ImcData() |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(IMCMessage m) |
void |
addMessageInOrder(IMCMessage m) |
void |
asLsf(java.io.File output) |
java.util.Vector<IMCMessage> |
getAllMessagesOfType(int type,
double timeStepSecs) |
java.util.Vector<IMCMessage> |
getAllMessagesOfType(java.lang.String abbrev,
double timeStepSecs) |
double |
getAvg(java.lang.String message,
java.lang.String field,
java.lang.String entity,
double startTime,
double endTime) |
int |
getEntityId(java.lang.String systemName) |
java.lang.String |
getEntityName(int systemId) |
IMCMessage |
getFirst(java.lang.String messageAbbrev) |
IMCMessage |
getFirstofType(int type) |
IMCMessage |
getLast(java.lang.String messageAbbrev) |
IMCMessage |
getLast(java.lang.String messageAbbrev,
java.lang.String entityId) |
IMCMessage |
getLastofType(int type) |
IMCMessage |
getLastofType(int type,
int sourceEntity) |
IMCMessage |
getMessageAfterOrAt(int type,
double time) |
IMCMessage |
getMessageBeforeOrAt(int type,
double time) |
java.util.Vector<IMCMessage> |
getMessagesFrom(int source) |
java.util.Collection<java.lang.Integer> |
getMessageTypes() |
java.util.Collection<java.lang.Integer> |
getSources() |
void |
load(java.io.File folder) |
static void |
main(java.lang.String[] args) |
void |
sortAllMessages() |
public void load(java.io.File folder) throws java.lang.Exception
java.lang.Exception
public final IMCMessage getMessageBeforeOrAt(int type, double time)
public final IMCMessage getMessageAfterOrAt(int type, double time)
public java.util.Vector<IMCMessage> getAllMessagesOfType(int type, double timeStepSecs)
public java.util.Vector<IMCMessage> getAllMessagesOfType(java.lang.String abbrev, double timeStepSecs)
public java.util.Vector<IMCMessage> getMessagesFrom(int source)
public java.util.Collection<java.lang.Integer> getSources()
public java.util.Collection<java.lang.Integer> getMessageTypes()
public void sortAllMessages()
public IMCMessage getLastofType(int type)
public IMCMessage getLastofType(int type, int sourceEntity)
public IMCMessage getLast(java.lang.String messageAbbrev, java.lang.String entityId) throws java.lang.Exception
java.lang.Exception
public IMCMessage getLast(java.lang.String messageAbbrev)
public IMCMessage getFirst(java.lang.String messageAbbrev)
public IMCMessage getFirstofType(int type)
public void addMessageInOrder(IMCMessage m)
public void addMessage(IMCMessage m)
public void asLsf(java.io.File output) throws java.io.IOException
java.io.IOException
public int getEntityId(java.lang.String systemName)
public java.lang.String getEntityName(int systemId)
public double getAvg(java.lang.String message, java.lang.String field, java.lang.String entity, double startTime, double endTime)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception