>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::ActionDecimalOutputSymbol Class Reference

#include <XabslAction.h>

Inheritance diagram for xabsl::ActionDecimalOutputSymbol:

Inheritance graph
[legend]
Collaboration diagram for xabsl::ActionDecimalOutputSymbol:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an action execution, in this case a decimal output symbol assignment.

Author:
Max Risler

Definition at line 217 of file XabslAction.h.


Public Member Functions

 ActionDecimalOutputSymbol (const unsigned &time)
 Constructor.

 ~ActionDecimalOutputSymbol ()
 Destructor.

virtual void execute ()
 Execute the behavior.


Public Attributes

DecimalOutputSymboldecimalOutputSymbol
 A decimal output symbol that is set if the state is active, null when a behavior is executed or another output symbol is set.

const DecimalExpressiondecimalOutputSymbolExpression
 The expression for the decimal output symbol that is set if the state is active.

double decimalOutputSymbolValue
 Current decimal output symbol value, this is stored just for debugging purposes.


Constructor & Destructor Documentation

xabsl::ActionDecimalOutputSymbol::ActionDecimalOutputSymbol const unsigned &  time  )  [inline]
 

Constructor.

Parameters:
time The system time in ms.

Definition at line 224 of file XabslAction.h.

References decimalOutputSymbol, decimalOutputSymbolExpression, and decimalOutputSymbolValue.

xabsl::ActionDecimalOutputSymbol::~ActionDecimalOutputSymbol  ) 
 

Destructor.

Definition at line 169 of file XabslAction.cpp.

References decimalOutputSymbolExpression.


Member Function Documentation

void xabsl::ActionDecimalOutputSymbol::execute  )  [virtual]
 

Execute the behavior.

Implements xabsl::Action.

Definition at line 198 of file XabslAction.cpp.

References decimalOutputSymbol, decimalOutputSymbolExpression, decimalOutputSymbolValue, xabsl::DecimalExpression::getValue(), and xabsl::OutputSymbol< double >::setValue().

Here is the call graph for this function:


Member Data Documentation

DecimalOutputSymbol* xabsl::ActionDecimalOutputSymbol::decimalOutputSymbol
 

A decimal output symbol that is set if the state is active, null when a behavior is executed or another output symbol is set.

Definition at line 235 of file XabslAction.h.

Referenced by ActionDecimalOutputSymbol(), xabsl::Engine::addRootActionDecimalOutputSymbol(), xabsl::Action::create(), execute(), and xabsl::Action::getDecimalOutputSymbol().

const DecimalExpression* xabsl::ActionDecimalOutputSymbol::decimalOutputSymbolExpression
 

The expression for the decimal output symbol that is set if the state is active.

Definition at line 237 of file XabslAction.h.

Referenced by ActionDecimalOutputSymbol(), xabsl::Engine::addRootActionDecimalOutputSymbol(), xabsl::Action::create(), execute(), and ~ActionDecimalOutputSymbol().

double xabsl::ActionDecimalOutputSymbol::decimalOutputSymbolValue
 

Current decimal output symbol value, this is stored just for debugging purposes.

Definition at line 239 of file XabslAction.h.

Referenced by ActionDecimalOutputSymbol(), execute(), and xabsl::Action::getDecimalOutputSymbolValue().


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

Up | Main Page | Generated at Wed Aug 19 17:32:29 2009.