Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

vrpn_LamportTimestamp Class Reference

@class vrpn_LamportTimestamp Timestamp for a single event, produced by a vrpn_LamportClock and hopefully generally usable in place of a struct timeval. @class vrpn_LamportClock Implements a distributed event clock as defined by Leslie Lamport in some seminal papers I can't find my copies of, for use by people who want to sequence events without relying on synchronization of wallclocks. More...

#include <vrpn_LamportClock.h>

List of all members.


Public Members

 vrpn_LamportTimestamp (int vectorLength, vrpn_uint32 * vector)
 vrpn_LamportTimestamp (const vrpn_LamportTimestamp &)
 ~vrpn_LamportTimestamp (void)
vrpn_LamportTimestamp& operator= (const vrpn_LamportTimestamp &)
vrpn_bool operator< (const vrpn_LamportTimestamp & r) const
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.


Detailed Description

@class vrpn_LamportTimestamp Timestamp for a single event, produced by a vrpn_LamportClock and hopefully generally usable in place of a struct timeval. @class vrpn_LamportClock Implements a distributed event clock as defined by Leslie Lamport in some seminal papers I can't find my copies of, for use by people who want to sequence events without relying on synchronization of wallclocks.


Member Function Documentation

vrpn_LamportTimestamp::vrpn_LamportTimestamp (int vectorLength, vrpn_uint32 * vector)

vrpn_LamportTimestamp::vrpn_LamportTimestamp (const vrpn_LamportTimestamp & r)

vrpn_LamportTimestamp::~vrpn_LamportTimestamp (void)

vrpn_LamportTimestamp & vrpn_LamportTimestamp::operator= (const vrpn_LamportTimestamp & r)

vrpn_bool vrpn_LamportTimestamp::operator< (const vrpn_LamportTimestamp & r) const

since some timestamps are incommesurate.

vrpn_uint32 vrpn_LamportTimestamp::operator[] (int i) const

Returns the event count for the i'th host.

int vrpn_LamportTimestamp::size (void) const

Returns the number of hosts participating in the timestamp.


The documentation for this class was generated from the following files:
Generated at Fri Sep 13 15:04:16 2002 for vrpn by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999