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

PStatViewLevel Class Reference

This is a single level value, or band of color, within a View. More...

#include <pStatViewLevel.h>

List of all members.

Public Member Functions

int get_collector () const
 Returns the Collector index associated with this level.

float get_value_alone () const
 Returns the total level value (or elapsed time value) for this Collector, not including any values accounted for by its child Collectors.

float get_net_value () const
 Returns the total level value (or elapsed time) represented by this Collector, including all values in its child Collectors.

void sort_children (const PStatClientData *client_data)
 Sorts the children of this view level into order as specified by the client's sort index.

int get_num_children () const
 Returns the number of children of this Level/Collector.

const PStatViewLevel * get_child (int n) const
 Returns the nth child of this Level/Collector.


Private Types

typedef pvector< PStatViewLevel * > Children

Private Attributes

int _collector
float _value_alone
PStatViewLevel * _parent
Children _children

Friends

class PStatView


Detailed Description

This is a single level value, or band of color, within a View.

It generally indicates either the elapsed time, or the "level" value, for a particular Collector within a given frame for a particular thread.

Definition at line 48 of file pStatViewLevel.h.


Member Typedef Documentation

typedef pvector<PStatViewLevel *> PStatViewLevel::Children [private]
 

Definition at line 64 of file pStatViewLevel.h.


Member Function Documentation

const PStatViewLevel * PStatViewLevel::get_child int  n  )  const
 

Returns the nth child of this Level/Collector.

Definition at line 115 of file pStatViewLevel.cxx.

Referenced by PStatStripChart::get_collector_under_pixel().

int PStatViewLevel::get_collector  )  const [inline]
 

Returns the Collector index associated with this level.

Definition at line 34 of file pStatViewLevel.I.

References _value_alone, and INLINE.

Referenced by PStatStripChart::get_collector_under_pixel().

float PStatViewLevel::get_net_value  )  const
 

Returns the total level value (or elapsed time) represented by this Collector, including all values in its child Collectors.

Definition at line 43 of file pStatViewLevel.cxx.

Referenced by PStatStripChart::get_collector_under_pixel().

int PStatViewLevel::get_num_children  )  const
 

Returns the number of children of this Level/Collector.

These are the Collectors whose value is considered to be part of the total value of this level's Collector.

Definition at line 102 of file pStatViewLevel.cxx.

Referenced by PStatStripChart::get_collector_under_pixel().

float PStatViewLevel::get_value_alone  )  const [inline]
 

Returns the total level value (or elapsed time value) for this Collector, not including any values accounted for by its child Collectors.

Definition at line 51 of file pStatViewLevel.I.

Referenced by PStatStripChart::get_collector_under_pixel().

void PStatViewLevel::sort_children const PStatClientData client_data  ) 
 

Sorts the children of this view level into order as specified by the client's sort index.

Definition at line 81 of file pStatViewLevel.cxx.

References _children.


Friends And Related Function Documentation

friend class PStatView [friend]
 

Definition at line 67 of file pStatViewLevel.h.


Member Data Documentation

Children PStatViewLevel::_children [private]
 

Definition at line 65 of file pStatViewLevel.h.

Referenced by sort_children().

int PStatViewLevel::_collector [private]
 

Definition at line 60 of file pStatViewLevel.h.

Referenced by PStatView::all_collectors_known().

PStatViewLevel* PStatViewLevel::_parent [private]
 

Definition at line 62 of file pStatViewLevel.h.

Referenced by PStatView::all_collectors_known().

float PStatViewLevel::_value_alone [private]
 

Definition at line 61 of file pStatViewLevel.h.

Referenced by get_collector().


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