>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::ActionBooleanOutputSymbol Class Reference

#include <XabslAction.h>

Inheritance diagram for xabsl::ActionBooleanOutputSymbol:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Author:
Max Risler

Definition at line 252 of file XabslAction.h.


Public Member Functions

 ActionBooleanOutputSymbol (const unsigned &time)
 Constructor.

 ~ActionBooleanOutputSymbol ()
 Destructor.

virtual void execute ()
 Execute the behavior.


Public Attributes

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

const BooleanExpressionbooleanOutputSymbolExpression
 The expression for the boolean output symbol that is set if the state is active.

bool booleanOutputSymbolValue
 Current boolean output symbol value, this is stored just for debugging purposes.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
time The system time in ms.

Definition at line 259 of file XabslAction.h.

References booleanOutputSymbol, booleanOutputSymbolExpression, and booleanOutputSymbolValue.

xabsl::ActionBooleanOutputSymbol::~ActionBooleanOutputSymbol  ) 
 

Destructor.

Definition at line 175 of file XabslAction.cpp.

References booleanOutputSymbolExpression.


Member Function Documentation

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

Execute the behavior.

Implements xabsl::Action.

Definition at line 204 of file XabslAction.cpp.

References booleanOutputSymbol, booleanOutputSymbolExpression, booleanOutputSymbolValue, xabsl::BooleanExpression::getValue(), and xabsl::OutputSymbol< bool >::setValue().

Here is the call graph for this function:


Member Data Documentation

BooleanOutputSymbol* xabsl::ActionBooleanOutputSymbol::booleanOutputSymbol
 

A boolean 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 270 of file XabslAction.h.

Referenced by ActionBooleanOutputSymbol(), xabsl::Engine::addRootActionBooleanOutputSymbol(), xabsl::Action::create(), execute(), and xabsl::Action::getBooleanOutputSymbol().

const BooleanExpression* xabsl::ActionBooleanOutputSymbol::booleanOutputSymbolExpression
 

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

Definition at line 272 of file XabslAction.h.

Referenced by ActionBooleanOutputSymbol(), xabsl::Engine::addRootActionBooleanOutputSymbol(), xabsl::Action::create(), execute(), and ~ActionBooleanOutputSymbol().

bool xabsl::ActionBooleanOutputSymbol::booleanOutputSymbolValue
 

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

Definition at line 274 of file XabslAction.h.

Referenced by ActionBooleanOutputSymbol(), execute(), and xabsl::Action::getBooleanOutputSymbolValue().


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

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