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

PStatPianoRoll::BarBuilder Class Reference

List of all members.

Public Member Functions

 BarBuilder ()
 This class is used internally to build up the set of color bars defined by a frame's worth of data.

void clear ()
 Resets the data in the BarBuilder for a new frame.

void add_data_point (float time)
 Adds a new data point.

void finish (float time)
 Makes sure that each start-bar data point was matched by a corresponding end-bar data point.


Public Attributes

bool _is_new
ColorBars _color_bars

Constructor & Destructor Documentation

PStatPianoRoll::BarBuilder::BarBuilder  ) 
 

This class is used internally to build up the set of color bars defined by a frame's worth of data.

Definition at line 42 of file pStatPianoRoll.cxx.

References _color_bars, and _is_new.


Member Function Documentation

void PStatPianoRoll::BarBuilder::add_data_point float  time  ) 
 

Adds a new data point.

The first data point for a given collector turns in on (starts the bar), the second data point turns it off (ends the bar).

Definition at line 73 of file pStatPianoRoll.cxx.

References _color_bars, and nout.

void PStatPianoRoll::BarBuilder::clear void   ) 
 

Resets the data in the BarBuilder for a new frame.

Definition at line 55 of file pStatPianoRoll.cxx.

References _color_bars, PStatPianoRoll::ColorBar::_end, and PStatPianoRoll::ColorBar::_start.

void PStatPianoRoll::BarBuilder::finish float  time  ) 
 

Makes sure that each start-bar data point was matched by a corresponding end-bar data point.

Definition at line 98 of file pStatPianoRoll.cxx.


Member Data Documentation

ColorBars PStatPianoRoll::BarBuilder::_color_bars
 

Definition at line 110 of file pStatPianoRoll.h.

Referenced by add_data_point(), BarBuilder(), and clear().

bool PStatPianoRoll::BarBuilder::_is_new
 

Definition at line 109 of file pStatPianoRoll.h.

Referenced by BarBuilder().


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:27:51 2003 for Panda-Tool by doxygen1.3