Equalizer 1.0
|
Public Member Functions | |
Config (eq::ServerPtr parent) | |
Construct a new config. | |
virtual bool | init () |
virtual bool | exit () |
Exit this configuration. | |
virtual uint32_t | startFrame () |
void | setInitData (const InitData &data) |
const InitData & | getInitData () const |
void | mapData (const eq::uint128_t &initDataID) |
void | releaseData () |
virtual bool | handleEvent (const eq::ConfigEvent *event) |
Handle one config event. | |
bool | needsRedraw () |
Protected Member Functions | |
virtual | ~Config () |
Destruct a config. |
Definition at line 41 of file share/Equalizer/examples/eqNBody/config.h.
eqNbody::Config::Config | ( | eq::ServerPtr | parent | ) |
Construct a new config.
Reimplemented from eq::Config.
Definition at line 35 of file eqNBody/config.cpp.
virtual eqNbody::Config::~Config | ( | ) | [inline, protected, virtual] |
Destruct a config.
Reimplemented from eq::Config.
Definition at line 61 of file share/Equalizer/examples/eqNBody/config.h.
bool eqNbody::Config::exit | ( | ) | [virtual] |
Exit this configuration.
This method is to be called only on the application node on an initialized configuration.
Exiting a configuration calls configExit on all active render entities, releases the entities using the NodeFactory and stops the render clients.
A configuration which was not exited properly may not be re-initialized.
Reimplemented from eq::Config.
Definition at line 60 of file eqNBody/config.cpp.
bool eqNbody::Config::handleEvent | ( | const eq::ConfigEvent * | event | ) | [virtual] |
Handle one config event.
event | the event. |
Reimplemented from eq::Config.
Definition at line 118 of file eqNBody/config.cpp.
References co::Object::commit(), eq::ConfigEvent::data, eq::Event::KEY_PRESS, eq::Event::VIEW_RESIZE, eq::Event::WINDOW_CLOSE, eq::Event::WINDOW_EXPOSE, and eq::Event::WINDOW_RESIZE.
Referenced by eqPixelBench::Config::handleEvent().