Equalizer 1.0

eqNbody::Config Class Reference

Inheritance diagram for eqNbody::Config:
Collaboration diagram for eqNbody::Config:

List of all members.

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 InitDatagetInitData () 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.

Detailed Description

Definition at line 41 of file share/Equalizer/examples/eqNBody/config.h.


Constructor & Destructor Documentation

eqNbody::Config::Config ( eq::ServerPtr  parent)

Construct a new config.

Version:
1.0

Reimplemented from eq::Config.

Definition at line 35 of file eqNBody/config.cpp.

virtual eqNbody::Config::~Config ( ) [inline, protected, virtual]

Destruct a config.

Version:
1.0

Reimplemented from eq::Config.

Definition at line 61 of file share/Equalizer/examples/eqNBody/config.h.


Member Function Documentation

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.

Returns:
true if the exit was successful, false if not.
Version:
1.0

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.

Parameters:
eventthe event.
Returns:
true if the event requires a redraw, false if not.
Version:
1.0

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().

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 Sun May 8 2011 19:11:10 for Equalizer 1.0 by  doxygen 1.7.3