Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RemoteState Class Reference

#include <RemoteState.h>

List of all members.


Detailed Description

This class represents remote state information recieved from a remote dog, and can be treated like a WorldState object

Definition at line 11 of file RemoteState.h.


Public Types

enum  StateType { OutputState, ButtonState, SensorState }

Public Member Functions

 RemoteState (const RemoteRouter *p)
virtual ~RemoteState ()
void update (char *data)

Public Attributes

float outputs [NumOutputs]
float buttons [NumButtons]
float sensors [NumSensors]

Static Public Attributes

static const int sizes []

Private Member Functions

 RemoteState (RemoteState &)
RemoteStateoperator= (const RemoteState &)

Private Attributes

const RemoteRouterparent

Member Enumeration Documentation

Enumerator:
OutputState 
ButtonState 
SensorState 

Definition at line 21 of file RemoteState.h.


Constructor & Destructor Documentation

RemoteState::RemoteState ( const RemoteRouter p  ) 

Definition at line 12 of file RemoteState.cc.

RemoteState::~RemoteState (  )  [virtual]

Definition at line 18 of file RemoteState.cc.

RemoteState::RemoteState ( RemoteState  )  [private]


Member Function Documentation

void RemoteState::update ( char *  data  ) 

Definition at line 22 of file RemoteState.cc.

Referenced by RemoteRouter::processData().

RemoteState& RemoteState::operator= ( const RemoteState  )  [private]


Member Data Documentation

float RemoteState::outputs[NumOutputs]

Definition at line 15 of file RemoteState.h.

Referenced by RemoteState(), and update().

float RemoteState::buttons[NumButtons]

Definition at line 16 of file RemoteState.h.

float RemoteState::sensors[NumSensors]

Definition at line 17 of file RemoteState.h.

const int RemoteState::sizes [static]

Initial value:

 {
    NumOutputs*sizeof(float),
  NumButtons*sizeof(float),
  NumSensors*sizeof(float),
}

Definition at line 27 of file RemoteState.h.

Referenced by EventProxy::sendState().

Definition at line 30 of file RemoteState.h.


The documentation for this class was generated from the following files:

Tekkotsu v4.0
Generated Thu Nov 22 00:58:39 2007 by Doxygen 1.5.4