public class InfoTimestamp extends SubMessage
SubMessage.Kind
Modifier and Type | Field and Description |
---|---|
static int |
KIND |
header
Constructor and Description |
---|
InfoTimestamp(long systemCurrentMillis) |
InfoTimestamp(SubMessageHeader smh,
RTPSByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
Time |
getTimeStamp()
Gets the timestamp
|
boolean |
invalidateFlag()
Indicates whether subsequent Submessages should be considered as having a
timestamp or not.
|
String |
toString() |
void |
writeTo(RTPSByteBuffer bb)
Writes this SubMessage into given RTPSByteBuffer.
|
getHeader, getKind
public static final int KIND
public InfoTimestamp(SubMessageHeader smh, RTPSByteBuffer bb)
public InfoTimestamp(long systemCurrentMillis)
public boolean invalidateFlag()
public void writeTo(RTPSByteBuffer bb)
SubMessage
writeTo
in class SubMessage
bb
- RTPSByteBufferpublic Time getTimeStamp()
public String toString()
toString
in class SubMessage
Copyright © 2016. All rights reserved.