rcs.nml.MsgToTimeStamp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rcslib Show documentation
Show all versions of rcslib Show documentation
NIST Real-Time Control Systems Library including Posemath, NML communications and Java Plotter
The newest version!
package rcs.nml;
/**
* Interface passed to tell indexer how to get a timestamp
* double seconds since epoch 12:00 AM Jan 1, 1970
* @author shackle
*/
public interface MsgToTimeStamp {
/**
* Return the timestamp that should be associated with this message
* used for indexing log files. Unfortunately different messages use different
* variables for this and some with different epochs/units etc.
* @param msg message to extract timestamp from
* @return time in seconds associated with this message since Jan 1,1970.
*/
public double getTimestampFromMessage(rcs.nml.NMLmsg msg);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy