Equalizer  1.4.1
Public Member Functions | Protected Member Functions
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 (eq::ServerPtr parent)
 Construct a new config.
virtual bool init ()
virtual bool exit ()
virtual uint32_t startFrame ()
void setInitData (const LocalInitData &data)
const InitDatagetInitData () const
bool loadData (const eq::uint128_t &initDataID)
 Map 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 needRedraw ()
uint32_t getAnimationFrame ()

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 53 of file share/Equalizer/examples/eqPly/config.h.


Constructor & Destructor Documentation

Construct a new config.

Version:
1.0

Reimplemented from eq::Config.

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

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

Destruct a config.

Version:
1.0

Reimplemented from eq::Config.

Definition at line 55 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 125 of file eqPly/config.cpp.

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

+ Here is the caller graph for this function:

Returns:
the current animation frame number.

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

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

+ Here is the caller graph for this function:

const Model * eqPly::Config::getModel ( const eq::uint128_t &  id)
bool eqPly::Config::handleEvent ( const eq::ConfigEvent event) [virtual]
bool eqPly::Config::init ( ) [virtual]
Returns:
true if the application is idling.

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

Returns:
true if an event required a redraw.

Definition at line 350 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 294 of file eqPly/config.cpp.

References co::Serializable::commit().

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

+ 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 797 of file eqPly/config.cpp.

References co::Object::getID().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Nov 26 2012 14:41:51 for Equalizer 1.4.1 by  doxygen 1.7.6.1