BaseComponent.cpp File Reference

#include "BaseComponent.h"

Functions

static void __InputHandle (MSG_INSTANCE msgInstance, BYTE_ARRAY callData, void *clientData)
 Internal message handle function; Posts to a special message dictionary for this Communication class to handle.
static void __SaveData (const ComModelDataPage *Data)
 Internal component model parsing function; Completely manages the internal buffers of data for this component.

Variables

static Dictionary
< ComModelBlock * > 
__InputBuffer
static float __InputTimes [INPUT_TIMES_MAX]
 A circular queue that is used for averaging out the message data message times.
static unsigned int __InputTimesIndex = 0
 The index for the circular array for input.
static BaseComponent__BaseComponentHandle = NULL
 Single instance handle; This is critical for correctly "stopping" of the system.


Function Documentation

void __InputHandle ( MSG_INSTANCE  msgInstance,
BYTE_ARRAY  callData,
void *  clientData 
) [static]

Internal message handle function; Posts to a special message dictionary for this Communication class to handle.

void __SaveData ( const ComModelDataPage Data  )  [static]

Internal component model parsing function; Completely manages the internal buffers of data for this component.


Variable Documentation

Single instance handle; This is critical for correctly "stopping" of the system.

Internal component model buffer; Manages by "__SaveData" Note that this is a C++ STL map / dictionary in which the keys are of type "ComponentName.DataType"

float __InputTimes[INPUT_TIMES_MAX] [static]

A circular queue that is used for averaging out the message data message times.

A circular array of all input times take to send/receieve messages

unsigned int __InputTimesIndex = 0 [static]

The index for the circular array for input.


Generated on Sun Feb 21 00:00:08 2010 for Penn State Robotics Club: Mini Grand Challenge 2010 by  doxygen 1.5.5