RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_LamportTimestamp类 参考

#include <vrpn_LamportClock.h>

Public 成员函数

 vrpn_LamportTimestamp (int vectorLength, vrpn_uint32 *vector)
 
 vrpn_LamportTimestamp (const vrpn_LamportTimestamp &)
 
vrpn_LamportTimestampoperator= (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.

成员函数说明

◆ operator<()

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.

◆ operator[]()

vrpn_uint32 operator[] ( int i) const

Returns the event count for the i'th host.

◆ size()

int size ( void ) const

Returns the number of hosts participating in the timestamp.


该类的文档由以下文件生成: