iso::flock::EnvDiffusionBehavior Class Reference

#include <iso_flock_env_diffusion_behavior.h>

Inherits iso::flock::EnvBehavior.

Inheritance diagram for iso::flock::EnvDiffusionBehavior:

Inheritance graph
[legend]
Collaboration diagram for iso::flock::EnvDiffusionBehavior:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EnvDiffusionBehavior (const base::String &pInputParameterString, const base::String &pOutputParameterString)
 EnvDiffusionBehavior (Env *pEnv, const base::String &pBehaviorName, const base::String &pInputParameterString, const base::String &pOutputParameterString)
 ~EnvDiffusionBehavior ()
virtual Behaviorcreate (const base::String &pBehaviorName, Agent *pAgent) const
 create copy of behavior
virtual Behaviorcreate (const base::String &pInputParameterString, const base::String &pOutputParameterString) const
 create copy of behavior
void act ()
 perform behavior

Protected Attributes

EnvParametermInputEnvPar
ParametermDiffusionPar
EnvParametermOutputEnvPar

Constructor & Destructor Documentation

EnvDiffusionBehavior::EnvDiffusionBehavior ( const base::String &  pInputParameterString,
const base::String &  pOutputParameterString 
)

EnvDiffusionBehavior::EnvDiffusionBehavior ( Env pEnv,
const base::String &  pBehaviorName,
const base::String &  pInputParameterString,
const base::String &  pOutputParameterString 
)

EnvDiffusionBehavior::~EnvDiffusionBehavior (  ) 


Member Function Documentation

Behavior * EnvDiffusionBehavior::create ( const base::String &  pBehaviorName,
Agent pAgent 
) const [virtual]

create copy of behavior

Parameters:
pAgent agent this behavior belongs to
pBehaviorName name of behavior
Returns:
new behavior
Exceptions:
FlockException wrong number of type of parameters

Implements iso::flock::Behavior.

Behavior * EnvDiffusionBehavior::create ( const base::String &  pInputParameterString,
const base::String &  pOutputParameterString 
) const [virtual]

create copy of behavior

Parameters:
pInputParameterString input parameter string
pOutputParameterString output parameter string
Returns:
new behavior

Implements iso::flock::Behavior.

void EnvDiffusionBehavior::act (  )  [virtual]

perform behavior

Implements iso::flock::EnvBehavior.


Member Data Documentation

EnvParameter* iso::flock::EnvDiffusionBehavior::mInputEnvPar [protected]

Parameter* iso::flock::EnvDiffusionBehavior::mDiffusionPar [protected]

EnvParameter* iso::flock::EnvDiffusionBehavior::mOutputEnvPar [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 15:28:02 2011 for iso_flock by  doxygen 1.5.1