Tries to maintain a constant frame rate by adapting the compound zoom. More...
#include <dfrEqualizer.h>


Public Member Functions | |
| virtual Equalizer * | clone () const |
| Create a copy. | |
| virtual void | toStream (std::ostream &os) const |
| Output to a stream. | |
| void | setFrameRate (const float frameRate) |
| Set the average frame rate for the DFREqualizer. | |
| float | getFrameRate () const |
| Get the average frame rate for the DFREqualizer. | |
| void | setDamping (const float damping) |
| Set the damping factor for the zoom adjustment. | |
| float | getDamping () const |
| virtual void | attach (Compound *compound) |
| 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) |
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. | |
Tries to maintain a constant frame rate by adapting the compound zoom.
Definition at line 35 of file dfrEqualizer.h.
| virtual Equalizer* eq::server::DFREqualizer::clone | ( | ) | const [inline, virtual] |
| virtual void eq::server::DFREqualizer::toStream | ( | std::ostream & | os | ) | const [inline, virtual] |
| void eq::server::DFREqualizer::setDamping | ( | const float | damping | ) | [inline] |
Set the damping factor for the zoom adjustment.
Definition at line 50 of file dfrEqualizer.h.
| float eq::server::DFREqualizer::getDamping | ( | ) | const [inline] |
Definition at line 53 of file dfrEqualizer.h.
| void eq::server::DFREqualizer::attach | ( | Compound * | compound | ) | [virtual] |
Reimplemented from eq::server::Equalizer.
Definition at line 48 of file dfrEqualizer.cpp.
References eq::server::Channel::addListener(), eq::server::Compound::getChannel(), eq::server::Equalizer::getCompound(), eq::server::Compound::getParent(), and eq::server::Channel::removeListener().

| void eq::server::DFREqualizer::notifyUpdatePre | ( | Compound * | compound, | |
| const uint32_t | frameNumber | |||
| ) | [virtual] |
Reimplemented from eq::server::CompoundListener.
Definition at line 73 of file dfrEqualizer.cpp.
References EQ_MAX, EQ_MIN, eq::server::Compound::getChannel(), eq::server::Equalizer::getCompound(), eq::server::Compound::getParent(), eq::server::Channel::getPixelViewport(), eq::server::Compound::isActive(), and eq::Zoom::NONE.

| void eq::server::DFREqualizer::notifyLoadData | ( | Channel * | channel, | |
| const uint32_t | frameNumber, | |||
| const uint32_t | nStatistics, | |||
| const eq::Statistic * | statistics | |||
| ) | [virtual] |
Implements eq::server::ChannelListener.
Definition at line 118 of file dfrEqualizer.cpp.
| virtual void eq::server::DFREqualizer::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 69 of file dfrEqualizer.h.
| virtual void eq::server::DFREqualizer::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 70 of file dfrEqualizer.h.
0.9.1 by
1.6.1