eq::server::FramerateEqualizer Class Reference

Adapts the frame rate of a compound to smoothen its output. More...

#include <framerateEqualizer.h>

Inheritance diagram for eq::server::FramerateEqualizer:

Inheritance graph
[legend]
Collaboration diagram for eq::server::FramerateEqualizer:

Collaboration graph
[legend]

List of all members.

Classes

class  LoadListener
 Helper class connecting on child tree for load gathering.

Public Member Functions

 FramerateEqualizer (const FramerateEqualizer &from)
virtual Equalizerclone () const
 Create a copy.
virtual void toStream (std::ostream &os) const
 Output to a stream.
virtual void attach (Compound *compound)
virtual void notifyUpdatePre (Compound *compound, const uint32_t frameNumber)

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

class LoadListener


Detailed Description

Adapts the frame rate of a compound to smoothen its output.

Does not support period settings underneath a child. One channel should not be used in compounds with a different inherit period.

Definition at line 40 of file framerateEqualizer.h.


Member Function Documentation

virtual Equalizer* eq::server::FramerateEqualizer::clone (  )  const [inline, virtual]

Create a copy.

Implements eq::server::Equalizer.

Definition at line 46 of file framerateEqualizer.h.

virtual void eq::server::FramerateEqualizer::toStream ( std::ostream &  os  )  const [inline, virtual]

Output to a stream.

Implements eq::server::Equalizer.

Definition at line 48 of file framerateEqualizer.h.

void eq::server::FramerateEqualizer::attach ( Compound compound  )  [virtual]

See also:
Equalizer::attach

Reimplemented from eq::server::Equalizer.

Definition at line 96 of file framerateEqualizer.cpp.

void eq::server::FramerateEqualizer::notifyUpdatePre ( Compound compound,
const uint32_t  frameNumber 
) [virtual]

See also:
CompoundListener::notifyUpdatePre

Reimplemented from eq::server::CompoundListener.

Definition at line 160 of file framerateEqualizer.cpp.

References EQ_MAX, EQLOG, eq::server::Compound::isActive(), and eq::server::Compound::setMaxFPS().

Here is the call graph for this function:

virtual void eq::server::FramerateEqualizer::notifyChildAdded ( Compound compound,
Compound child 
) [inline, protected, virtual]

Notify that the compound has a new child.

Parameters:
compound the parent compound.
child the child compound.

Reimplemented from eq::server::Equalizer.

Definition at line 58 of file framerateEqualizer.h.

virtual void eq::server::FramerateEqualizer::notifyChildRemove ( Compound compound,
Compound child 
) [inline, protected, virtual]

Notify that the compound is about to remove a child.

Parameters:
compound the parent compound.
child the child compound.

Reimplemented from eq::server::Equalizer.

Definition at line 60 of file framerateEqualizer.h.


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:45 2009 for Equalizer 0.9 by  doxygen 1.5.8