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 InitDatagetInitData () 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 ModelgetModel (const uint32_t id)
virtual bool handleEvent (const eq::ConfigEvent *event)
bool isIdleAA ()
bool needsRedraw ()
bool isUserEvent ()

Protected Member Functions

virtual ~Config ()
 Destruct 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]

Destruct a config.

Version:
1.0

Reimplemented from eq::Config.

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


Member Function Documentation

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

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

References eqPly::COLOR_WHITE, EQINFO, EQWARN, eq::Config::getCanvases(), eq::Config::getLatency(), 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 113 of file examples/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:

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

Definition at line 293 of file examples/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:

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

Definition at line 267 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::isIdleAA (  ) 
Returns:
true if the application is idling.

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

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

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

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

Here is the caller graph for this function:

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

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

References eq::Config::getTime().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:15:35 2010 for Equalizer 0.9.1 by  doxygen 1.6.1