eqNbody::Config Class Reference

Inheritance diagram for eqNbody::Config:
Inheritance graph
[legend]
Collaboration diagram for eqNbody::Config:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Config (eq::base::RefPtr< eq::Server > parent)
const FrameDatagetFrameData () const
virtual bool init ()
virtual bool exit ()
 Exit this configuration.
virtual uint32_t startFrame ()
void setInitData (const LocalInitData &data)
const InitDatagetInitData () const
void mapData (const uint32_t initDataID)
void unmapData ()
virtual bool handleEvent (const eq::ConfigEvent *event)
 Handle one config event.
bool needsRedraw ()

Protected Member Functions

virtual ~Config ()
 Destruct a config.

Protected Attributes

LocalInitData _initData
FrameData _frameData
bool _redraw

Detailed Description

Definition at line 29 of file examples/eqNBody/config.h.


Constructor & Destructor Documentation

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

Destruct a config.

Version:
1.0

Reimplemented from eq::Config.

Definition at line 51 of file 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 53 of file examples/eqNBody/config.cpp.

References eq::Config::exit().

Here is the call graph for this function:

bool eqNbody::Config::handleEvent ( const eq::ConfigEvent event  )  [virtual]

Handle one config event.

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

Reimplemented from eq::Config.

Definition at line 112 of file examples/eqNBody/config.cpp.

References eq::Config::handleEvent(), 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.

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 Sat Feb 6 13:15:10 2010 for Equalizer 0.9.1 by  doxygen 1.6.1