Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

GraphData Class Reference

#include <GraphData.h>

List of all members.

Public Member Functions

Public Attributes

Private Attributes


Constructor & Destructor Documentation

GraphData::GraphData int  bufferSize  ) 
 

Definition at line 3 of file GraphData.cpp.

References data, dataSize, and index.

GraphData::~GraphData  )  [virtual]
 

Definition at line 10 of file GraphData.cpp.


Member Function Documentation

float GraphData::getValue int  i  )  [inline]
 

Definition at line 33 of file GraphData.h.

Referenced by Graph::drawBuffer().

void GraphData::push float  value  )  [inline]
 

Definition at line 23 of file GraphData.h.

Referenced by Graph::push().


Member Data Documentation

int GraphData::bufferSize
 

The size of the memory buffer of the graph

Definition at line 12 of file GraphData.h.

float* GraphData::data [private]
 

Definition at line 39 of file GraphData.h.

Referenced by GraphData().

int GraphData::dataSize
 

The actual size of the data that was already set.

Definition at line 15 of file GraphData.h.

Referenced by Graph::drawBuffer(), and GraphData().

int GraphData::index
 

The index that marks the start of the data. Virtually, the new data values added to the graph are pushed at the end of the data stack, while old values are popped at the beginning. In practice, just the index that marks the start of the data moves, while the new data values are overwritten over the older ones.

Definition at line 21 of file GraphData.h.

Referenced by GraphData().


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

Thyrix homepageUsers' guide

(C) Arxia 2004-2005