>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::ActionBasicBehavior Class Reference

#include <XabslAction.h>

Inheritance diagram for xabsl::ActionBasicBehavior:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an action execution.

In this case a basic behavior is to be executed.

Author:
Max Risler

Definition at line 167 of file XabslAction.h.


Public Member Functions

 ActionBasicBehavior (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

BasicBehaviorbasicBehavior

Constructor & Destructor Documentation

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

Constructor.

Parameters:
time The system time in ms.

Definition at line 174 of file XabslAction.h.

References basicBehavior.


Member Function Documentation

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

The option or basic behavior that is executed.

Implements xabsl::ActionBehavior.

Definition at line 221 of file XabslAction.cpp.

References basicBehavior.

Behavior * xabsl::ActionBasicBehavior::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 231 of file XabslAction.cpp.

References basicBehavior.


Member Data Documentation

BasicBehavior* xabsl::ActionBasicBehavior::basicBehavior
 

Definition at line 179 of file XabslAction.h.

Referenced by ActionBasicBehavior(), xabsl::Action::create(), xabsl::Action::getBasicBehavior(), and getBehavior().


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

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