Equalizer
1.4.1
|
The configuration, run be the EqPly application. More...
#include <config.h>
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 InitData & | getInitData () const |
bool | loadData (const eq::uint128_t &initDataID) |
Map 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 | 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. |
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.
eqPly::Config::Config | ( | eq::ServerPtr | parent | ) |
Construct a new config.
Reimplemented from eq::Config.
Definition at line 42 of file eqPly/config.cpp.
eqPly::Config::~Config | ( | ) | [protected, virtual] |
Destruct a config.
Reimplemented from eq::Config.
Definition at line 55 of file eqPly/config.cpp.
bool eqPly::Config::exit | ( | ) | [virtual] |
Reimplemented from eq::Config.
Definition at line 125 of file eqPly/config.cpp.
Referenced by eqPly::EqPly::run().
uint32_t eqPly::Config::getAnimationFrame | ( | ) |
Definition at line 355 of file eqPly/config.cpp.
Referenced by eqPly::EqPly::run().
const Model * eqPly::Config::getModel | ( | const eq::uint128_t & | id | ) |
Definition at line 265 of file eqPly/config.cpp.
References eq::Config::getApplicationNode(), eq::Config::getClient(), co::Object::getID(), eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getNodes(), and eq::fabric::Node< C, N, P, V >::getPipes().
bool eqPly::Config::handleEvent | ( | const eq::ConfigEvent * | event | ) | [virtual] |
Reimplemented from eq::Config.
Definition at line 376 of file eqPly/config.cpp.
References eq::PointerEvent::button, eq::MagellanEvent::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(), eq::Event::KEY_PRESS, eq::Event::keyPress, eq::Event::magellan, eq::Event::MAGELLAN_AXIS, eq::Event::MAGELLAN_BUTTON, eq::Event::pointerMotion, eq::Event::pointerWheel, eq::Event::type, eq::Event::VIEW_RESIZE, eq::Event::WINDOW_CLOSE, eq::Event::WINDOW_EXPOSE, eq::Event::WINDOW_POINTER_WHEEL, eq::Event::WINDOW_RESIZE, eq::PointerEvent::xAxis, eq::MagellanEvent::xAxis, eq::MagellanEvent::xRotation, eq::PointerEvent::yAxis, eq::MagellanEvent::yAxis, eq::MagellanEvent::yRotation, eq::MagellanEvent::zAxis, and eq::MagellanEvent::zRotation.
Referenced by eqPly::EqPly::run().
bool eqPly::Config::init | ( | ) | [virtual] |
Definition at line 69 of file eqPly/config.cpp.
References eqPly::COLOR_WHITE, eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getCanvases(), co::Object::getID(), eq::fabric::Config< Server, Config, Observer, Layout, Canvas, Node, ConfigVisitor >::getLatency(), eqPly::Tracker::init(), eq::Config::init(), eq::Config::registerObject(), co::Object::setAutoObsolete(), eqPly::Tracker::setSensorToObject(), and eqPly::Tracker::setWorldToEmitter().
Referenced by eqPly::EqPly::run().
bool eqPly::Config::isIdleAA | ( | ) |
Definition at line 345 of file eqPly/config.cpp.
bool eqPly::Config::needRedraw | ( | ) |
Definition at line 350 of file eqPly/config.cpp.
Referenced by eqPly::EqPly::run().
uint32_t eqPly::Config::startFrame | ( | ) | [virtual] |
Definition at line 294 of file eqPly/config.cpp.
References co::Serializable::commit().
Referenced by eqPly::EqPly::run().
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().