|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Represents logical time.
| Method Summary | |
void |
decreaseBy(LogicalTimeInterval subtrahend)
Decreses logical time by the specified interval. |
void |
encode(byte[] buffer,
int offset)
Encodes the logical time to a transportable format. |
int |
encodedLength()
Returns the length of the encoded logical time. |
void |
increaseBy(LogicalTimeInterval addend)
Increses the logical time by the specified interval. |
boolean |
isEqualTo(LogicalTime value)
Checks if times are equal. |
boolean |
isFinal()
Checks if the value of time is final (greatest time possible). |
boolean |
isGreaterThan(LogicalTime value)
Compares if the time is greater than another time. |
boolean |
isGreaterThanOrEqualTo(LogicalTime value)
Compares if the time is greater than or equal to another time. |
boolean |
isInitial()
Check if the value of time is initial (lowest time possible). |
boolean |
isLessThan(LogicalTime value)
Compares if the time is less than another time. |
boolean |
isLessThanOrEqualTo(LogicalTime value)
Compares if the time is less than or equal to another time. |
void |
setFinal()
Sets the time to the greatest time possible. |
void |
setInitial()
Sets the time to the lowest time possible. |
void |
setTo(LogicalTime value)
Sets the time to a specified Logical Time. |
LogicalTimeInterval |
subtract(LogicalTime subtrahend)
Decreses logical time by the specified logical time. |
| Method Detail |
public void decreaseBy(LogicalTimeInterval subtrahend)
throws hla.rti.IllegalTimeArithmetic
subtrahend - Logical time interval
public void encode(byte[] buffer,
int offset)
buffer - The resulting byte array bufferoffset - Start position in the destination datapublic int encodedLength()
public void increaseBy(LogicalTimeInterval addend)
throws hla.rti.IllegalTimeArithmetic
addend - Logical Time Intervalpublic boolean isEqualTo(LogicalTime value)
value - Time to compare with.public boolean isFinal()
public boolean isGreaterThan(LogicalTime value)
value - The logical time to compare with.public boolean isGreaterThanOrEqualTo(LogicalTime value)
value - The logical time to compare with.public boolean isInitial()
public boolean isLessThan(LogicalTime value)
value - The logical time to compare with.public boolean isLessThanOrEqualTo(LogicalTime value)
value - The logical time to compare with.public void setFinal()
public void setInitial()
public void setTo(LogicalTime value)
value - Logical Timepublic LogicalTimeInterval subtract(LogicalTime subtrahend)
subtrahend - Logical time
|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||