Equalizer  1.2.1
Public Member Functions | Protected Member Functions
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

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 eq::ConfigEvent::data, eq::Event::KEY_PRESS, eq::Event::keyPress, eq::Event::type, eq::Event::VIEW_RESIZE, eq::Event::WINDOW_CLOSE, eq::Event::WINDOW_EXPOSE, and eq::Event::WINDOW_RESIZE.


The documentation for this class was generated from the following files:
Generated on Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0