eqPly::Config Class Reference

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

#include <config.h>

Inheritance diagram for eqPly::Config:

Inheritance graph
[legend]
Collaboration diagram for eqPly::Config:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

virtual ~Config ()
 Destructs a config.

Protected Attributes

int _spinX
int _spinY
int _advance
eq::Canvas_currentCanvas
LocalInitData _initData
FrameData _frameData
Tracker _tracker
ModelVector _models
ModelDistVector _modelDist
eq::base::Lock _modelLock
CameraAnimation _animation
uint64_t _messageTime
bool _redraw
bool _freeze


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


Constructor & Destructor Documentation

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

Destructs a config.

Reimplemented from eq::Config.

Definition at line 38 of file examples/eqPly/config.cpp.


Member Function Documentation

bool eqPly::Config::init (  )  [virtual]

See also:
eq::Config::init.

Definition at line 56 of file examples/eqPly/config.cpp.

References eqPly::COLOR_WHITE, EQINFO, EQWARN, eq::Config::getCanvases(), eq::Config::init(), and eq::net::Session::registerObject().

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

Here is the call graph for this function:

Here is the caller graph for this function:

bool eqPly::Config::exit (  )  [virtual]

See also:
eq::Config::exit.

Reimplemented from eq::Config.

Definition at line 111 of file examples/eqPly/config.cpp.

References eq::Config::exit().

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t eqPly::Config::startFrame (  )  [virtual]

See also:
eq::Config::startFrame.

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

References eq::Config::startFrame().

Referenced by 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 uint32_t  id  ) 

Returns:
the requested, default model or 0.

Definition at line 263 of file examples/eqPly/config.cpp.

References eq::net::Object::getID().

Here is the call graph for this function:

bool eqPly::Config::handleEvent ( const eq::ConfigEvent event  )  [virtual]

bool eqPly::Config::needsRedraw (  ) 

Returns:
true if an event required a redraw.

Definition at line 326 of file examples/eqPly/config.cpp.

References eq::Config::getTime().

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

Here is the call graph for this function:

Here is the caller graph for this function:


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