>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::ActionOption Class Reference

#include <XabslAction.h>

Inheritance diagram for xabsl::ActionOption:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an action execution.

In this case an option is to be executed.

Author:
Max Risler

Definition at line 192 of file XabslAction.h.


Public Member Functions

 ActionOption (const unsigned &time)
 Constructor.

virtual const BehaviorgetBehavior () const
 The option or basic behavior that is executed.

virtual BehaviorgetBehavior ()
 Returns a pointer to the option or basic behavior to be executed, or 0 if an output symbol is set.


Public Attributes

Optionoption

Constructor & Destructor Documentation

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

Constructor.

Parameters:
time The system time in ms.

Definition at line 199 of file XabslAction.h.

References option.


Member Function Documentation

const Behavior * xabsl::ActionOption::getBehavior  )  const [virtual]
 

The option or basic behavior that is executed.

Implements xabsl::ActionBehavior.

Definition at line 216 of file XabslAction.cpp.

References option.

Behavior * xabsl::ActionOption::getBehavior  )  [virtual]
 

Returns a pointer to the option or basic behavior to be executed, or 0 if an output symbol is set.

Implements xabsl::ActionBehavior.

Definition at line 226 of file XabslAction.cpp.

References option.


Member Data Documentation

Option* xabsl::ActionOption::option
 

Definition at line 204 of file XabslAction.h.

Referenced by ActionOption(), xabsl::Engine::addActions(), xabsl::Engine::checkForLoops(), xabsl::Engine::countActions(), xabsl::State::create(), xabsl::Action::create(), getBehavior(), xabsl::Action::getOption(), and xabsl::SubsequentOptionReachedTargetStateCondition::getValue().


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

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