Public Member Functions | Protected Member Functions | Protected Attributes | Friends
opl::interface::AbstractState Class Reference

#include <AbstractState.h>

Inheritance diagram for opl::interface::AbstractState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string createKey (const std::string &fluentName, const std::vector< std::string > &arguments) const
std::string createObjectKey (int index, double value) const
void dump () const
const TimeStampedStategetCurrentState () const
double getNumericValue (const FluentMapping *variable) const
const ObjectgetObject (const FluentMapping *variable) const
bool getPredicateValue (const FluentMapping *variable) const
const FluentMappinggetVariable (const std::string &key) const
virtual void initialize ()=0
void setCurrentState (const TimeStampedState *currentState)
void updateFluentMappings ()

Protected Member Functions

 AbstractState ()

Protected Attributes

const TimeStampedStatecurrentState
FluentMappingsType fluentMappings
ObjectMappingsType objects
ObjectMappingsType returnObjectMappings

Friends

class AbstractStateFactory

Detailed Description

Definition at line 28 of file AbstractState.h.


Constructor & Destructor Documentation

Definition at line 21 of file AbstractState.cpp.


Member Function Documentation

std::string opl::interface::AbstractState::createKey ( const std::string &  fluentName,
const std::vector< std::string > &  arguments 
) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 36 of file AbstractState.cpp.

std::string opl::interface::AbstractState::createObjectKey ( int  index,
double  value 
) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 48 of file AbstractState.cpp.

void opl::interface::AbstractState::dump ( ) const [virtual]

Implements opl::interface::OplCallbackInterface.

Definition at line 119 of file AbstractState.cpp.

Definition at line 43 of file AbstractState.h.

double opl::interface::AbstractState::getNumericValue ( const FluentMapping variable) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 80 of file AbstractState.cpp.

const Object * opl::interface::AbstractState::getObject ( const FluentMapping variable) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 98 of file AbstractState.cpp.

bool opl::interface::AbstractState::getPredicateValue ( const FluentMapping variable) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 61 of file AbstractState.cpp.

const FluentMapping * opl::interface::AbstractState::getVariable ( const std::string &  key) const [virtual]

Implements opl::interface::ObjectLookupTable.

Definition at line 56 of file AbstractState.cpp.

virtual void opl::interface::AbstractState::initialize ( ) [pure virtual]
void opl::interface::AbstractState::setCurrentState ( const TimeStampedState currentState) [inline, virtual]

Implements opl::interface::OplCallbackInterface.

Definition at line 42 of file AbstractState.h.

Definition at line 27 of file AbstractState.cpp.


Friends And Related Function Documentation

friend class AbstractStateFactory [friend]

Definition at line 52 of file AbstractState.h.


Member Data Documentation

Definition at line 34 of file AbstractState.h.

Definition at line 31 of file AbstractState.h.

Definition at line 33 of file AbstractState.h.

Definition at line 32 of file AbstractState.h.


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


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Mon Oct 6 2014 07:52:06