![]() |
RflySimSDK v3.05
RflySimSDK说明文档
|
#include <vrpn_LamportClock.h>
Public 成员函数 | |
vrpn_LamportTimestamp (int vectorLength, vrpn_uint32 *vector) | |
vrpn_LamportTimestamp (const vrpn_LamportTimestamp &) | |
vrpn_LamportTimestamp & | operator= (const vrpn_LamportTimestamp &) |
vrpn_bool | operator< (const vrpn_LamportTimestamp &r) const |
vrpn_uint32 | operator[] (int i) const |
Returns the event count for the i'th host. | |
int | size (void) const |
Returns the number of hosts participating in the timestamp. | |
Timestamp for a single event, produced by a vrpn_LamportClock and hopefully generally usable in place of a struct timeval.
vrpn_bool operator< | ( | const vrpn_LamportTimestamp & | r | ) | const |
Returns vrpn_true if this timestamp precedes r. It'd be nice if we could throw an exception here, since some timestamps are incommesurate.
vrpn_uint32 operator[] | ( | int | i | ) | const |
Returns the event count for the i'th host.
int size | ( | void | ) | const |
Returns the number of hosts participating in the timestamp.