Adapts the 2D tiling or DB range of the attached compound's children. More...
#include <loadEqualizer.h>


Classes | |
| struct | Data |
| struct | Node |
Public Types | |
| enum | Mode { MODE_DB = 0, MODE_HORIZONTAL, MODE_VERTICAL, MODE_2D } |
Public Member Functions | |
| LoadEqualizer (const LoadEqualizer &from) | |
| virtual Equalizer * | clone () const |
| Create a copy. | |
| virtual void | toStream (std::ostream &os) const |
| Output to a stream. | |
| void | setMode (const Mode mode) |
| Set the load balancer adaptation mode. | |
| Mode | getMode () const |
| void | setDamping (const float damping) |
| Set the damping factor for the viewport or range adjustment. | |
| float | getDamping () const |
| virtual void | notifyUpdatePre (Compound *compound, const uint32_t frameNumber) |
| virtual void | notifyLoadData (Channel *channel, const uint32_t frameNumber, const uint32_t nStatistics, const eq::Statistic *statistics) |
| void | setBoundary (const Vector2i &boundary) |
| Set a boundary for 2D tiles. | |
| void | setBoundary (const float boundary) |
| Set a boundary for DB ranges. | |
| const Vector2i & | getBoundary2i () const |
| float | getBoundaryf () const |
Protected Member Functions | |
| virtual void | notifyChildAdded (Compound *compound, Compound *child) |
| Notify that the compound has a new child. | |
| virtual void | notifyChildRemove (Compound *compound, Compound *child) |
| Notify that the compound is about to remove a child. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Node *node) |
Adapts the 2D tiling or DB range of the attached compound's children.
Definition at line 39 of file loadEqualizer.h.
Definition at line 48 of file loadEqualizer.h.
| virtual Equalizer* eq::server::LoadEqualizer::clone | ( | ) | const [inline, virtual] |
| virtual void eq::server::LoadEqualizer::toStream | ( | std::ostream & | os | ) | const [inline, virtual] |
Output to a stream.
Implements eq::server::Equalizer.
Definition at line 46 of file loadEqualizer.h.
| void eq::server::LoadEqualizer::setMode | ( | const Mode | mode | ) | [inline] |
Set the load balancer adaptation mode.
Definition at line 57 of file loadEqualizer.h.
| Mode eq::server::LoadEqualizer::getMode | ( | ) | const [inline] |
Definition at line 60 of file loadEqualizer.h.
| void eq::server::LoadEqualizer::setDamping | ( | const float | damping | ) | [inline] |
Set the damping factor for the viewport or range adjustment.
Definition at line 63 of file loadEqualizer.h.
| float eq::server::LoadEqualizer::getDamping | ( | ) | const [inline] |
Definition at line 66 of file loadEqualizer.h.
| void eq::server::LoadEqualizer::notifyUpdatePre | ( | Compound * | compound, | |
| const uint32_t | frameNumber | |||
| ) | [virtual] |
Reimplemented from eq::server::CompoundListener.
Definition at line 69 of file loadEqualizer.cpp.
References EQLOG, eq::server::Compound::getChildren(), eq::server::Equalizer::getCompound(), and eq::server::Compound::isActive().

| void eq::server::LoadEqualizer::notifyLoadData | ( | Channel * | channel, | |
| const uint32_t | frameNumber, | |||
| const uint32_t | nStatistics, | |||
| const eq::Statistic * | statistics | |||
| ) | [virtual] |
Implements eq::server::ChannelListener.
Definition at line 154 of file loadEqualizer.cpp.
| void eq::server::LoadEqualizer::setBoundary | ( | const Vector2i & | boundary | ) | [inline] |
Set a boundary for 2D tiles.
Definition at line 79 of file loadEqualizer.h.
| void eq::server::LoadEqualizer::setBoundary | ( | const float | boundary | ) | [inline] |
Set a boundary for DB ranges.
Definition at line 86 of file loadEqualizer.h.
| const Vector2i& eq::server::LoadEqualizer::getBoundary2i | ( | ) | const [inline] |
Definition at line 93 of file loadEqualizer.h.
| float eq::server::LoadEqualizer::getBoundaryf | ( | ) | const [inline] |
Definition at line 96 of file loadEqualizer.h.
| virtual void eq::server::LoadEqualizer::notifyChildAdded | ( | Compound * | compound, | |
| Compound * | child | |||
| ) | [inline, protected, virtual] |
Notify that the compound has a new child.
| compound | the parent compound. | |
| child | the child compound. |
Reimplemented from eq::server::Equalizer.
Definition at line 99 of file loadEqualizer.h.
| virtual void eq::server::LoadEqualizer::notifyChildRemove | ( | Compound * | compound, | |
| Compound * | child | |||
| ) | [inline, protected, virtual] |
Notify that the compound is about to remove a child.
| compound | the parent compound. | |
| child | the child compound. |
Reimplemented from eq::server::Equalizer.
Definition at line 101 of file loadEqualizer.h.
0.9.1 by
1.6.1