Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

RemoteState Class Reference

#include <RemoteState.h>


Detailed Description

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

Definition at line 12 of file RemoteState.h.

List of all members.

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 22 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

RemoteState& RemoteState::operator= ( const RemoteState  )  [private]
void RemoteState::update ( char *  data  ) 

Definition at line 22 of file RemoteState.cc.

Referenced by RemoteRouter::processData().


Member Data Documentation

Definition at line 17 of file RemoteState.h.

Definition at line 16 of file RemoteState.h.

Referenced by RemoteState(), and update().

Definition at line 31 of file RemoteState.h.

Definition at line 18 of file RemoteState.h.

const int RemoteState::sizes [static]
Initial value:
 {
    NumOutputs*sizeof(float),
  NumButtons*sizeof(float),
  NumSensors*sizeof(float),
}

Definition at line 28 of file RemoteState.h.

Referenced by EventProxy::sendState().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:15 2016 by Doxygen 1.6.3