18 #ifndef EQFABRIC_EQUALIZER_H
19 #define EQFABRIC_EQUALIZER_H
21 #include <eq/fabric/api.h>
22 #include <eq/fabric/vmmlib.h>
35 namespace detail {
class Equalizer; }
45 EQFABRIC_API Equalizer(
const Equalizer& rhs );
48 EQFABRIC_API Equalizer& operator=(
const Equalizer& rhs );
51 EQFABRIC_API
virtual ~Equalizer();
64 EQFABRIC_API
void setFrozen(
const bool onOff );
76 EQFABRIC_API
void setDamping(
const float damping );
91 EQFABRIC_API
void setBoundary(
const float boundary );
124 EQFABRIC_API
void serialize( co::DataOStream& os )
const;
125 EQFABRIC_API
void deserialize( co::DataIStream& is );
127 EQFABRIC_API
void backup();
128 EQFABRIC_API
void restore();
131 detail::Equalizer* _data;
132 detail::Equalizer* _backup;
135 EQFABRIC_API co::DataOStream& operator << ( co::DataOStream& os,
138 EQFABRIC_API co::DataIStream& operator >> ( co::DataIStream& is,
141 EQFABRIC_API std::ostream& operator << ( std::ostream& os,
149 { byteswap( reinterpret_cast< uint32_t& >( value )); }
152 #endif // EQFABRIC_EQUALIZER_H
void setBoundary(const Vector2i &boundary)
Set a boundary for 2D tiles.
void setMode(const Mode mode)
Set the load balancer adaptation mode.
Adapt for sort-first using vertical stripes.
float getFrameRate() const
float getBoundaryf() const
Adapt for a sort-last decomposition.
const Vector2i & getTileSize() const
float getResistancef() const
const Vector2i & getResistance2i() const
Adapt for sort-first using horizontal stripes.
float getAssembleOnlyLimit() const
void setResistance(const Vector2i &resistance)
Set a resistance for 2D tiles.
Base data transport class for equalizers.
void setTileSize(const Vector2i &size)
Set the tile size for the TileEqualizer.
Adapt for a sort-first decomposition.
void setDamping(const float damping)
Set the damping factor for the viewport, range or zoom adjustment.
void setFrameRate(const float frameRate)
Set the average frame rate for the DFREqualizer.
void setAssembleOnlyLimit(const float limit)
Set the limit when to assign assemble tasks only.
const Vector2i & getBoundary2i() const
void setFrozen(const bool onOff)
Set the equalizer to freeze the current state.
vmml::vector< 2, int > Vector2i
A two-component integer vector.