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, getKindpublic static final int KIND
public InfoTimestamp(SubMessageHeader smh, RTPSByteBuffer bb)
public InfoTimestamp(long systemCurrentMillis)
public boolean invalidateFlag()
public void writeTo(RTPSByteBuffer bb)
SubMessagewriteTo in class SubMessagebb - RTPSByteBufferpublic Time getTimeStamp()
public String toString()
toString in class SubMessageCopyright © 2016. All rights reserved.