Aria  2.8.0
ArActionDesiredChannel Class Reference

Class used by ArActionDesired for each channel, internal. More...

#include <ArActionDesired.h>

Public Member Functions

void addAverage (ArActionDesiredChannel *desiredChannel)
 
void checkLowerBound (const char *actionName, const char *typeName, int lowerBound)
 do some bounds checking
 
void checkUpperBound (const char *actionName, const char *typeName, int upperBound)
 do some bounds checking
 
void endAverage (void)
 
double getAllowOverride (void) const
 
double getDesired (void) const
 
double getStrength (void) const
 
void merge (ArActionDesiredChannel *desiredChannel)
 
void reset (void)
 
void setDesired (double desired, double desiredStrength, bool allowOverride=false)
 
void setOverrideDoesLessThan (bool overrideDoesLessThan)
 
void startAverage (void)
 

Static Public Attributes

static const double MAX_STRENGTH
 
static const double MIN_STRENGTH
 
static const double NO_STRENGTH
 

Protected Attributes

bool myAllowOverride
 
double myDesired
 
double myDesiredTotal
 
bool myOverrideDoesLessThan
 
double myStrength
 
double myStrengthTotal
 

Detailed Description

Class used by ArActionDesired for each channel, internal.

Member Data Documentation

const double ArActionDesiredChannel::MAX_STRENGTH
static
Initial value:
=
ArActionDesired::MAX_STRENGTH
const double ArActionDesiredChannel::MIN_STRENGTH
static
Initial value:
=
ArActionDesired::MIN_STRENGTH
const double ArActionDesiredChannel::NO_STRENGTH
static
Initial value:
=
ArActionDesired::NO_STRENGTH

The documentation for this class was generated from the following files: