GBE::GCreatorAgent Class Reference

Creates many child elements. More...

#include <GCreatorAgent.h>

Inheritance diagram for GBE::GCreatorAgent:

Inheritance graph
[legend]
Collaboration diagram for GBE::GCreatorAgent:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual QStringList getAvailableActions () const
virtual QString getActionDescription (const QString &action) const
virtual void performAction (const QString &action, QStringList params)
virtual void receiveInfluence (const GCS::GElementInfluence &)

Public Member Functions

 GCreatorAgent ()
virtual ~GCreatorAgent ()

Detailed Description

Creates many child elements.

Author:
Raphael Langerhorst
This agent is used for creating child elements. It reacts to radiated energy and produces child elements at the place of radiation.

Todo:
implement - see raphael's notes for ideas


Constructor & Destructor Documentation

GBE::GCreatorAgent::GCreatorAgent (  ) 

Constructor.

GBE::GCreatorAgent::~GCreatorAgent (  )  [virtual]

Destructor.


Member Function Documentation

QString GBE::GCreatorAgent::getActionDescription ( const QString &  action  )  const [virtual, slot]

Returns:
description of given action.

Reimplemented from GCS::GAgent.

QStringList GBE::GCreatorAgent::getAvailableActions (  )  const [virtual, slot]

Returns:
list of available actions
See also:
performAction

Reimplemented from GCS::GAgent.

void GBE::GCreatorAgent::performAction ( const QString &  action,
QStringList  params 
) [virtual, slot]

Known actions: createElement(param1: fraction_energy, param2: parent_element_id, param3: x3d graphics data file)

See also:
GCS::GAgent::performAction()

void GBE::GCreatorAgent::receiveInfluence ( const GCS::GElementInfluence  )  [virtual, slot]

Certain influences can cause additional child elements to be created in the area of the influence. The created elements will have a size and look according to the energy.

Todo:
record how much energy has been put into certain regions.

integrate with GDynamicGeneratorAgent?


The documentation for this class was generated from the following files:
Generated on Thu Nov 16 07:49:19 2006 for G System by  doxygen 1.4.7