>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::TimeRef Class Reference

#include <XabslDecimalExpression.h>

Inheritance diagram for xabsl::TimeRef:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a time-of-option-execution or time-of-state-execution element in the option graph.

Author:
Martin Loetzsch

Definition at line 250 of file XabslDecimalExpression.h.


Public Member Functions

 TimeRef (ErrorHandler &errorHandler, unsigned &time)
 Constructor.

virtual double getValue () const
 Calculates the value of the decimal expression.


Private Attributes

unsigned & time
 The referenced time.


Constructor & Destructor Documentation

xabsl::TimeRef::TimeRef ErrorHandler errorHandler,
unsigned &  time
 

Constructor.

Parameters:
errorHandler A reference to a ErrorHandler instance
time the referenced time

Definition at line 211 of file XabslDecimalExpression.cpp.

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

Here is the call graph for this function:


Member Function Documentation

double xabsl::TimeRef::getValue  )  const [virtual]
 

Calculates the value of the decimal expression.

Implements xabsl::DecimalExpression.

Definition at line 218 of file XabslDecimalExpression.cpp.


Member Data Documentation

unsigned& xabsl::TimeRef::time [private]
 

The referenced time.

Definition at line 266 of file XabslDecimalExpression.h.


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

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