From: <sv...@ww...> - 2004-06-12 12:28:27
|
Author: wolverine Date: 2004-06-12 05:28:21 -0700 (Sat, 12 Jun 2004) New Revision: 1017 Modified: trunk/CSP/CSPSim/Include/Networking.h Log: Switching Networking to use a MemoryWriter class to load the message. Modified: trunk/CSP/CSPSim/Include/Networking.h =================================================================== --- trunk/CSP/CSPSim/Include/Networking.h 2004-06-12 12:28:00 UTC (rev 1016) +++ trunk/CSP/CSPSim/Include/Networking.h 2004-06-12 12:28:21 UTC (rev 1017) @@ -178,6 +178,15 @@ printf("ObjectUpdateMessagePayload - angularVelocityOffset: %d\n", angularVelocityAddr - thisAddr ); printf("ObjectUpdateMessagePayload - attitudeOffset: %d\n", attitudeAddr - thisAddr ); } + + void dump() + { + printf("ObjectUpdateMessagePayload - id: %d\n", id); + printf("ObjectUpdateMessagePayload - objectType: %d\n", objectType); + printf("ObjectUpdateMessagePayload - timestamp: %f\n", timeStamp); + printf("ObjectUpdateMessagePayload - GlobalPosition [x: %f, y: %f, z: %f]\n", globalPosition.x, globalPosition.y, globalPosition.z); + + } }; |