>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::SubsequentOptionReachedTargetStateCondition Class Reference

#include <XabslBooleanExpression.h>

Inheritance diagram for xabsl::SubsequentOptionReachedTargetStateCondition:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an 'subsequent-option-reached-target-state' element of the option graph.

Author:
Martin Loetzsch

Definition at line 290 of file XabslBooleanExpression.h.


Public Member Functions

 SubsequentOptionReachedTargetStateCondition (ErrorHandler &errorHandler, State &state)
 Constructor.

virtual bool getValue () const
 Evaluates the boolean expression.


Private Attributes

Statestate
 The state.


Constructor & Destructor Documentation

xabsl::SubsequentOptionReachedTargetStateCondition::SubsequentOptionReachedTargetStateCondition ErrorHandler errorHandler,
State state
 

Constructor.

Creates the element.

Parameters:
errorHandler A reference to a ErrorHandler instance
state The current state

Definition at line 371 of file XabslBooleanExpression.cpp.

References xabsl::ErrorHandler::message(), and XABSL_DEBUG_INIT.

Here is the call graph for this function:


Member Function Documentation

bool xabsl::SubsequentOptionReachedTargetStateCondition::getValue  )  const [virtual]
 

Evaluates the boolean expression.

Implements xabsl::BooleanExpression.

Definition at line 379 of file XabslBooleanExpression.cpp.

References xabsl::State::actions, xabsl::Option::getOptionReachedATargetState(), xabsl::Array< Action * >::getSize(), xabsl::ActionOption::option, and state.

Here is the call graph for this function:


Member Data Documentation

State& xabsl::SubsequentOptionReachedTargetStateCondition::state [private]
 

The state.

Definition at line 307 of file XabslBooleanExpression.h.

Referenced by getValue().


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

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