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

PStatCollectorDef Class Reference

#include <pStatCollectorDef.h>

List of all members.

Public Member Functions

 PStatCollectorDef ()
 PStatCollectorDef (int index, const string &name)
void set_parent (const PStatCollectorDef &parent)
void write_datagram (Datagram &destination) const
void read_datagram (DatagramIterator &source, PStatClientVersion *version)

Public Attributes

int _index
string _name
int _parent_index
RGBColorf _suggested_color
int _sort
string _level_units
float _suggested_scale
float _factor
bool _is_active
bool _active_explicitly_set


Constructor & Destructor Documentation

PStatCollectorDef::PStatCollectorDef  ) 
 

Definition at line 31 of file pStatCollectorDef.cxx.

References _active_explicitly_set, _factor, _index, _is_active, _parent_index, _sort, _suggested_color, and _suggested_scale.

PStatCollectorDef::PStatCollectorDef int  index,
const string &  name
 

Definition at line 48 of file pStatCollectorDef.cxx.

References _active_explicitly_set, _factor, _is_active, _parent_index, _sort, _suggested_color, _suggested_scale, and index.


Member Function Documentation

void PStatCollectorDef::read_datagram DatagramIterator source,
PStatClientVersion version
 

Definition at line 103 of file pStatCollectorDef.cxx.

References _factor, _index, _level_units, _name, _parent_index, _sort, _suggested_color, _suggested_scale, DatagramIterator::get_float32(), DatagramIterator::get_int16(), and DatagramIterator::get_string().

Referenced by PStatClientControlMessage::decode().

void PStatCollectorDef::set_parent const PStatCollectorDef &  parent  ) 
 

Definition at line 70 of file pStatCollectorDef.cxx.

References _active_explicitly_set, _factor, _index, _is_active, _level_units, _parent_index, and _suggested_scale.

void PStatCollectorDef::write_datagram Datagram destination  )  const
 

Definition at line 86 of file pStatCollectorDef.cxx.

References _factor, _index, _level_units, _name, _parent_index, _sort, _suggested_color, _suggested_scale, Datagram::add_float32(), Datagram::add_int16(), and Datagram::add_string().


Member Data Documentation

bool PStatCollectorDef::_active_explicitly_set
 

Definition at line 54 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), and set_parent().

float PStatCollectorDef::_factor
 

Definition at line 52 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), set_parent(), and write_datagram().

int PStatCollectorDef::_index
 

Definition at line 45 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), set_parent(), and write_datagram().

bool PStatCollectorDef::_is_active
 

Definition at line 53 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), and set_parent().

string PStatCollectorDef::_level_units
 

Definition at line 50 of file pStatCollectorDef.h.

Referenced by read_datagram(), set_parent(), and write_datagram().

string PStatCollectorDef::_name
 

Definition at line 46 of file pStatCollectorDef.h.

Referenced by read_datagram(), and write_datagram().

int PStatCollectorDef::_parent_index
 

Definition at line 47 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), set_parent(), and write_datagram().

int PStatCollectorDef::_sort
 

Definition at line 49 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), and write_datagram().

RGBColorf PStatCollectorDef::_suggested_color
 

Definition at line 48 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), and write_datagram().

float PStatCollectorDef::_suggested_scale
 

Definition at line 51 of file pStatCollectorDef.h.

Referenced by PStatCollectorDef(), read_datagram(), set_parent(), and write_datagram().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:21 2003 for Panda by doxygen1.3