#include <iso_flock_env_decay_behavior.h>
Inherits iso::flock::EnvBehavior.
Inheritance diagram for iso::flock::EnvDecayBehavior:
Public Member Functions | |
EnvDecayBehavior (const base::String &pInputParameterString, const base::String &pOutputParameterString) | |
EnvDecayBehavior (Env *pEnv, const base::String &pBehaviorName, const base::String &pInputParameterString, const base::String &pOutputParameterString) | |
~EnvDecayBehavior () | |
virtual Behavior * | create (const base::String &pBehaviorName, Agent *pAgent) const |
create copy of behavior | |
virtual Behavior * | create (const base::String &pInputParameterString, const base::String &pOutputParameterString) const |
create copy of behavior | |
void | act () |
perform behavior | |
Protected Attributes | |
EnvParameter * | mInputEnvPar |
Parameter * | mDecayPar |
EnvParameter * | mOutputEnvPar |
EnvDecayBehavior::EnvDecayBehavior | ( | const base::String & | pInputParameterString, | |
const base::String & | pOutputParameterString | |||
) |
EnvDecayBehavior::EnvDecayBehavior | ( | Env * | pEnv, | |
const base::String & | pBehaviorName, | |||
const base::String & | pInputParameterString, | |||
const base::String & | pOutputParameterString | |||
) |
EnvDecayBehavior::~EnvDecayBehavior | ( | ) |
Behavior * EnvDecayBehavior::create | ( | const base::String & | pBehaviorName, | |
Agent * | pAgent | |||
) | const [virtual] |
create copy of behavior
pAgent | agent this behavior belongs to | |
pBehaviorName | name of behavior |
FlockException | wrong number of type of parameters |
Implements iso::flock::Behavior.
Behavior * EnvDecayBehavior::create | ( | const base::String & | pInputParameterString, | |
const base::String & | pOutputParameterString | |||
) | const [virtual] |
create copy of behavior
pInputParameterString | input parameter string | |
pOutputParameterString | output parameter string |
Implements iso::flock::Behavior.
void EnvDecayBehavior::act | ( | ) | [virtual] |
EnvParameter* iso::flock::EnvDecayBehavior::mInputEnvPar [protected] |
Parameter* iso::flock::EnvDecayBehavior::mDecayPar [protected] |
EnvParameter* iso::flock::EnvDecayBehavior::mOutputEnvPar [protected] |