Homepage Demos Overview Downloads Tutorials Reference
Credits

WorldStateSerializer Class Reference

#include <WorldStateSerializer.h>

Inheritance diagram for WorldStateSerializer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 WorldStateSerializer ()
void serialize ()

Private Member Functions

 WorldStateSerializer (const WorldStateSerializer &)
WorldStateSerializeroperator= (const WorldStateSerializer &)

Private Attributes

SocketwsJoints
SocketwsPIDs

Constructor & Destructor Documentation

WorldStateSerializer::WorldStateSerializer  ) 
 

Definition at line 8 of file WorldStateSerializer.cc.

References config, Wireless::listen(), Config::main, Wireless::setDaemon(), Wireless::socket(), wireless, wsJoints, Config::main_config::wsjoints_port, wsPIDs, and Config::main_config::wspids_port.

Here is the call graph for this function:

WorldStateSerializer::WorldStateSerializer const WorldStateSerializer  )  [private]
 


Member Function Documentation

WorldStateSerializer& WorldStateSerializer::operator= const WorldStateSerializer  )  [private]
 

void WorldStateSerializer::serialize  ) 
 

Definition at line 18 of file WorldStateSerializer.cc.

References WorldState::buttons, Serializer::encode(), Socket::getWriteBuffer(), WorldState::lastSensorUpdateTime, ERS210Info::NumPIDJoints, WorldState::outputs, WorldState::pidduties, ERS210Info::PIDJointOffset, WorldState::pids, WorldState::sensors, state, Socket::write(), wsJoints, and wsPIDs.

Here is the call graph for this function:


Member Data Documentation

Socket* WorldStateSerializer::wsJoints [private]
 

Definition at line 17 of file WorldStateSerializer.h.

Socket* WorldStateSerializer::wsPIDs [private]
 

Definition at line 18 of file WorldStateSerializer.h.


The documentation for this class was generated from the following files:
Tekkotsu v1.5
Generated Fri Oct 10 15:58:49 2003 by Doxygen 1.3.4