Compounds | |||
![]() | ![]() | struct | vrpn_Clock_Remote |
Functions | |||
![]() | ![]() | void | printTime ( char *pch, const struct timeval& tv ) |
![]() | ![]() | gettimeofday (&tvLNow, NULL) | |
![]() | ![]() | if ((p.payload_len==0) || (ntohl(*(vrpn_int32 *)p.buffer)!=CLOCK_VERSION)) | |
![]() | ![]() | if (me->lUniqueID!=(vrpn_int32)ntohl(plTimeData[5])) | |
![]() | ![]() | if (plTimeData[6]!=(vrpn_int32)ntohl(VRPN_CLOCK_FULL_SYNC)) | |
![]() | ![]() | if (tvHalfRoundTrip.tv_sec % 2) | |
![]() | ![]() | if (tvLServerReply.tv_usec>=1e6) | |
![]() | ![]() | if ((tvHalfRoundTrip.tv_sec < me->tvMinHalfRoundTrip.tv_sec) || ((tvHalfRoundTrip.tv_sec == me->tvMinHalfRoundTrip.tv_sec) && (tvHalfRoundTrip.tv_usec < me->tvMinHalfRoundTrip.tv_usec)) || (me->cBounces==1)) | |
Variables | |||
![]() | ![]() | vrpn_Clock_Remote * | userdata |
![]() | ![]() | vrpn_Clock_Remote | tvLNow |
![]() | ![]() | vrpn_Clock_Remote* | me |
![]() | ![]() | vrpn_int32* | plTimeData |
![]() | ![]() | me | cBounces |
![]() | ![]() | struct timeval | tvLReq |
![]() | ![]() | tvLReq | tv_sec |
![]() | ![]() | tvLReq | tv_usec |
![]() | ![]() | struct timeval | tvRRep |
![]() | ![]() | tvRRep | tv_sec |
![]() | ![]() | tvRRep | tv_usec |
![]() | ![]() | struct timeval | tvRoundTrip |
![]() | ![]() | struct timeval | tvHalfRoundTrip |
![]() | ![]() | tvHalfRoundTrip | tv_usec |
![]() | ![]() | tvHalfRoundTrip | tv_sec |
![]() | ![]() | struct timeval | tvLServerReply |
![]() | ![]() | tvLServerReply | tv_sec |
![]() | ![]() | tvLServerReply | tv_usec |
![]() | ![]() | return | |
| void printTime (char * pch, const struct timeval & tv) |
| gettimeofday (& tvLNow, NULL) |
| if ((p.payload_len==0)||(ntohl(*(vrpn_int32 *)p.buffer)!=CLOCK_VERSION)) |
| if (me-, lUniqueID! = (vrpn_int32)ntohl(plTimeData[5])) |
| if (plTimeData[6]! = (vrpn_int32)ntohl(VRPN_CLOCK_FULL_SYNC)) |
| if (tvHalfRoundTrip.tv_sec% 2) |
| if (tvLServerReply. tv_usec) |
| if ((tvHalfRoundTrip.tv_sec<me->tvMinHalfRoundTrip.tv_sec)||((tvHalfRoundTrip.tv_sec==me->tvMinHalfRoundTrip.tv_sec)&&(tvHalfRoundTrip.tv_usec<me->tvMinHalfRoundTrip.tv_usec))||(me->cBounces==1)) |
| vrpn_Clock_Remote * userdata |
| vrpn_Clock_Remote tvLNow |
| vrpn_Clock_Remote* me |
| vrpn_int32* plTimeData |
| me cBounces |
| struct timeval tvLReq |
| tvLReq tv_sec |
| tvLReq tv_usec |
| struct timeval tvRRep |
| tvRRep tv_sec |
| tvRRep tv_usec |
| struct timeval tvRoundTrip |
| struct timeval tvHalfRoundTrip |
| tvHalfRoundTrip tv_usec |
| tvHalfRoundTrip tv_sec |
| struct timeval tvLServerReply |
| tvLServerReply tv_sec |
| tvLServerReply tv_usec |
| return |
1.0.0 written by Dimitri van Heesch,
© 1997-1999