Equalizer 1.0

eqPly::Config Class Reference

The configuration, run be the EqPly application. More...

#include <config.h>

Inheritance diagram for eqPly::Config:
Collaboration diagram for eqPly::Config:

List of all members.

Public Member Functions

 Config (co::base::RefPtr< eq::Server > parent)
virtual bool init ()
virtual bool exit ()
virtual uint32_t startFrame ()
void setInitData (const LocalInitData &data)
const InitDatagetInitData () const
bool mapData (const eq::uint128_t &initDataID)
 Map per-config data to the local node process.
void unmapData ()
 Unmap per-config data to the local node process.
const ModelgetModel (const eq::uint128_t &id)
virtual bool handleEvent (const eq::ConfigEvent *event)
bool isIdleAA ()
bool needsRedraw ()
bool isUserEvent ()

Protected Member Functions

virtual ~Config ()
 Destruct a config.
virtual co::uint128_t sync (const co::uint128_t &version=co::VERSION_HEAD)
 Synchronize config and admin copy.

Detailed Description

The configuration, run be the EqPly application.

A configuration instance manages configuration-specific data: it distributes the initialization and model data, updates frame-specific data and manages frame generation based on event handling.

Definition at line 54 of file share/Equalizer/examples/eqPly/config.h.


Constructor & Destructor Documentation

eqPly::Config::~Config ( ) [protected, virtual]

Destruct a config.

Version:
1.0

Reimplemented from eq::Config.

Definition at line 57 of file eqPly/config.cpp.


Member Function Documentation

bool eqPly::Config::exit ( ) [virtual]
See also:
eq::Config::exit.

Reimplemented from eq::Config.

Definition at line 131 of file eqPly/config.cpp.

References eq::Config::exit().

Referenced by eVolve::Config::exit(), and eqPly::EqPly::run().

Here is the call graph for this function:

Here is the caller graph for this function:

const Model * eqPly::Config::getModel ( const eq::uint128_t id)
Returns:
the requested, default model or 0.

Definition at line 290 of file eqPly/config.cpp.

References eq::Config::getClient(), co::Object::getID(), and co::base::UUID::ZERO.

Here is the call graph for this function:

bool eqPly::Config::isIdleAA ( )
Returns:
true if the application is idling.

Definition at line 367 of file eqPly/config.cpp.

bool eqPly::Config::isUserEvent ( )
Returns:
true if an user event required a redraw.

Definition at line 377 of file eqPly/config.cpp.

References eq::Config::getTime().

Here is the call graph for this function:

bool eqPly::Config::needsRedraw ( )
Returns:
true if an event required a redraw.

Definition at line 372 of file eqPly/config.cpp.

Referenced by eqPly::EqPly::run().

Here is the caller graph for this function:

uint32_t eqPly::Config::startFrame ( ) [virtual]
See also:
eq::Config::startFrame.

Definition at line 316 of file eqPly/config.cpp.

References eqPixelBench::Config::startFrame().

Referenced by eqPly::EqPly::run(), and eVolve::Config::startFrame().

Here is the call graph for this function:

Here is the caller graph for this function:

co::uint128_t eqPly::Config::sync ( const co::uint128_t version = co::VERSION_HEAD) [protected, virtual]

Synchronize config and admin copy.

Reimplemented from co::Object.

Definition at line 763 of file eqPly/config.cpp.

References co::Object::getID(), and co::Object::sync().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun May 8 2011 19:11:11 for Equalizer 1.0 by  doxygen 1.7.3