18 #ifndef EQFABRIC_EQUALIZER_H
19 #define EQFABRIC_EQUALIZER_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 );
88 EQFABRIC_API
void setBoundary(
const Vector2i& boundary );
91 EQFABRIC_API
void setBoundary(
const float boundary );
100 EQFABRIC_API
void setResistance(
const Vector2i& resistance );
118 EQFABRIC_API
void setTileSize(
const Vector2i& size );
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
EQFABRIC_API Mode getMode() const
Adapt for sort-first using horizontal stripes.
EQFABRIC_API void setFrameRate(const float frameRate)
Set the average frame rate for the DFREqualizer.
EQFABRIC_API bool isFrozen() const
Defines export visibility macros for library EqualizerFabric.
EQFABRIC_API float getFrameRate() const
EQFABRIC_API const Vector2i & getTileSize() const
Adapt for a sort-last decomposition.
Adapt for a sort-first decomposition.
EQFABRIC_API float getResistancef() const
EQFABRIC_API void setFrozen(const bool onOff)
Set the equalizer to freeze the current state.
EQFABRIC_API float getDamping() const
EQFABRIC_API void setDamping(const float damping)
Set the damping factor for the viewport, range or zoom adjustment.
EQFABRIC_API const Vector2i & getResistance2i() const
The Equalizer client library.
EQFABRIC_API void setResistance(const Vector2i &resistance)
Set a resistance for 2D tiles.
EQFABRIC_API void setAssembleOnlyLimit(const float limit)
Set the limit when to assign assemble tasks only.
EQFABRIC_API const Vector2i & getBoundary2i() const
EQFABRIC_API float getAssembleOnlyLimit() const
Adapt for sort-first using vertical stripes.
EQFABRIC_API void setTileSize(const Vector2i &size)
Set the tile size for the TileEqualizer.
EQFABRIC_API void setMode(const Mode mode)
Set the load balancer adaptation mode.
EQFABRIC_API void setBoundary(const Vector2i &boundary)
Set a boundary for 2D tiles.
Base data transport class for equalizers.
EQFABRIC_API float getBoundaryf() const