#include <iso_flock_env_clamp_behavior.h>
Inherits iso::flock::EnvBehavior.
Inheritance diagram for iso::flock::EnvClampBehavior:
Public Member Functions | |
EnvClampBehavior (const base::String &pInputParameterString, const base::String &pOutputParameterString) | |
EnvClampBehavior (Env *pEnv, const base::String &pBehaviorName, const base::String &pInputParameterString, const base::String &pOutputParameterString) | |
~EnvClampBehavior () | |
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 * | mClampMinPar |
Parameter * | mClampMaxPar |
EnvParameter * | mOutputEnvPar |
EnvClampBehavior::EnvClampBehavior | ( | const base::String & | pInputParameterString, | |
const base::String & | pOutputParameterString | |||
) |
EnvClampBehavior::EnvClampBehavior | ( | Env * | pEnv, | |
const base::String & | pBehaviorName, | |||
const base::String & | pInputParameterString, | |||
const base::String & | pOutputParameterString | |||
) |
EnvClampBehavior::~EnvClampBehavior | ( | ) |
Behavior * EnvClampBehavior::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 * EnvClampBehavior::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 EnvClampBehavior::act | ( | ) | [virtual] |
EnvParameter* iso::flock::EnvClampBehavior::mInputEnvPar [protected] |
Parameter* iso::flock::EnvClampBehavior::mClampMinPar [protected] |
Parameter* iso::flock::EnvClampBehavior::mClampMaxPar [protected] |
EnvParameter* iso::flock::EnvClampBehavior::mOutputEnvPar [protected] |