Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

GCS::GElementInfluence Class Reference

GElementInfluence represents any kind of influence for elements. More...

#include <GElementInfluence.h>

Inheritance diagram for GCS::GElementInfluence:

Inheritance graph
[legend]
Collaboration diagram for GCS::GElementInfluence:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GElementInfluence (const GElementID &source, const GEnergy &energy=GEnergy(0, 0, 0))
virtual ~GElementInfluence ()
const GElementIDsource () const

Public Attributes

GEnergy Energy

Protected Attributes

GElementID Source

Detailed Description

GElementInfluence represents any kind of influence for elements.

Author:
Raphael Langerhorst
Normally a whole element actually influences other elements, so this class should be seen as a way of transmitting influence from one element to another.

See also:
GEnergy, GAgent


Constructor & Destructor Documentation

GCS::GElementInfluence::GElementInfluence const GElementID source,
const GEnergy energy = GEnergy(0,0,0)
[inline]
 

Constructor

Parameters:
source from where the influence originates.

virtual GCS::GElementInfluence::~GElementInfluence  )  [inline, virtual]
 

Virtual destructor for subclassing.


Member Function Documentation

const GElementID& GCS::GElementInfluence::source  )  const [inline]
 

Returns:
the ID of the element that sent the influence.


Member Data Documentation

GEnergy GCS::GElementInfluence::Energy
 

The energy of the influence.

GElementID GCS::GElementInfluence::Source [protected]
 

Determines the source element of the influence.


The documentation for this class was generated from the following file:
Generated on Thu Oct 21 21:18:22 2004 for G System by doxygen 1.3.6