#include <pStatCollectorDef.h>
Public Member Functions | |
PStatCollectorDef () | |
PStatCollectorDef (int index, const string &name) | |
void | set_parent (const PStatCollectorDef &parent) |
This is normally called only by the PStatClient when the new PStatCollectorDef is created; it sets the parent of the CollectorDef and inherits whatever properties are appropriate. | |
void | write_datagram (Datagram &destination) const |
Writes the definition of the collectorDef to the datagram. | |
void | read_datagram (DatagramIterator &source, PStatClientVersion *version) |
Extracts the collectorDef definition from the datagram. | |
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 |
Definition at line 43 of file pStatCollectorDef.h.
|
Definition at line 36 of file pStatCollectorDef.cxx. |
|
Definition at line 55 of file pStatCollectorDef.cxx. References _active_explicitly_set, _factor, _is_active, and _suggested_scale. |
|
Extracts the collectorDef definition from the datagram.
Definition at line 123 of file pStatCollectorDef.cxx. |
|
This is normally called only by the PStatClient when the new PStatCollectorDef is created; it sets the parent of the CollectorDef and inherits whatever properties are appropriate.
Definition at line 83 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(). |
|
Writes the definition of the collectorDef to the datagram.
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(). |
|
Definition at line 61 of file pStatCollectorDef.h. Referenced by PStatCollectorDef(). |
|
Definition at line 59 of file pStatCollectorDef.h. Referenced by PStatCollectorDef(), set_parent(), and write_datagram(). |
|
Definition at line 52 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 60 of file pStatCollectorDef.h. Referenced by PStatCollectorDef(). |
|
Definition at line 57 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 53 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 54 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 56 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 55 of file pStatCollectorDef.h. Referenced by set_parent(), and write_datagram(). |
|
Definition at line 58 of file pStatCollectorDef.h. Referenced by PStatCollectorDef(), set_parent(), and write_datagram(). |