Equalizer 1.0
|
The configuration, run be the EqPly application. More...
#include <config.h>
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 InitData & | getInitData () 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 Model * | getModel (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. |
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.
eqPly::Config::~Config | ( | ) | [protected, virtual] |
Destruct a config.
Reimplemented from eq::Config.
Definition at line 57 of file eqPly/config.cpp.
bool eqPly::Config::exit | ( | ) | [virtual] |
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().
const Model * eqPly::Config::getModel | ( | const eq::uint128_t & | id | ) |
Definition at line 290 of file eqPly/config.cpp.
References eq::Config::getClient(), co::Object::getID(), and co::base::UUID::ZERO.
bool eqPly::Config::handleEvent | ( | const eq::ConfigEvent * | event | ) | [virtual] |
Reimplemented from eq::Config.
Definition at line 393 of file eqPly/config.cpp.
References eq::PointerEvent::button, eq::PointerEvent::buttons, eq::Event::CHANNEL_POINTER_BUTTON_PRESS, eq::Event::CHANNEL_POINTER_BUTTON_RELEASE, eq::ConfigEvent::data, eq::PointerEvent::dx, eq::PointerEvent::dy, eq::fabric::Canvas< CFG, C, S, L >::getActiveLayout(), eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getCanvases(), eq::fabric::View< L, V, O >::getLayout(), eqPixelBench::Config::handleEvent(), eq::Event::KEY_PRESS, eq::Event::MAGELLAN_AXIS, eq::Event::MAGELLAN_BUTTON, eq::Event::VIEW_RESIZE, eq::Event::WINDOW_CLOSE, eq::Event::WINDOW_EXPOSE, eq::Event::WINDOW_POINTER_WHEEL, eq::Event::WINDOW_RESIZE, and co::base::UUID::ZERO.
Referenced by eVolve::Config::handleEvent(), and eqPly::EqPly::run().
bool eqPly::Config::init | ( | ) | [virtual] |
Definition at line 75 of file eqPly/config.cpp.
References eqPly::COLOR_WHITE, EQINFO, EQWARN, eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getCanvases(), eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getLatency(), eq::Config::init(), and eq::Config::registerObject().
Referenced by eqPly::EqPly::run().
bool eqPly::Config::isIdleAA | ( | ) |
Definition at line 367 of file eqPly/config.cpp.
bool eqPly::Config::isUserEvent | ( | ) |
Definition at line 377 of file eqPly/config.cpp.
References eq::Config::getTime().
bool eqPly::Config::needsRedraw | ( | ) |
Definition at line 372 of file eqPly/config.cpp.
Referenced by eqPly::EqPly::run().
uint32_t eqPly::Config::startFrame | ( | ) | [virtual] |
Definition at line 316 of file eqPly/config.cpp.
References eqPixelBench::Config::startFrame().
Referenced by eqPly::EqPly::run(), and eVolve::Config::startFrame().
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().