GCS::GElementInfluence Class Reference

Represents any kind of influence for elements. More...

#include <GElementInfluence.h>

Collaboration diagram for GCS::GElementInfluence:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

GEnergy Energy

Protected Attributes

GElementID Source

Detailed Description

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.

Deprecated:
Influencing happens by creating an element which "travels" to the destination and integrates itself into the destination element.
See also:
GEnergy, GAgent


Constructor & Destructor Documentation

GCS::GElementInfluence::GElementInfluence ( const GElementID source,
const GEnergy energy 
)

Constructor

Parameters:
source from where the influence originates.

GCS::GElementInfluence::~GElementInfluence (  )  [virtual]

Virtual destructor for subclassing.


Member Function Documentation

const GElementID & GCS::GElementInfluence::source (  )  const

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 files:
Generated on Thu Nov 16 07:49:34 2006 for G System by  doxygen 1.4.7