#include <AbstractState.h>
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 TimeStampedState * | getCurrentState () const |
double | getNumericValue (const FluentMapping *variable) const |
const Object * | getObject (const FluentMapping *variable) const |
bool | getPredicateValue (const FluentMapping *variable) const |
const FluentMapping * | getVariable (const std::string &key) const |
virtual void | initialize ()=0 |
void | setCurrentState (const TimeStampedState *currentState) |
void | updateFluentMappings () |
Protected Member Functions | |
AbstractState () | |
Protected Attributes | |
const TimeStampedState * | currentState |
FluentMappingsType | fluentMappings |
ObjectMappingsType | objects |
ObjectMappingsType | returnObjectMappings |
Friends | |
class | AbstractStateFactory |
Definition at line 28 of file AbstractState.h.
opl::interface::AbstractState::AbstractState | ( | ) | [protected] |
Definition at line 21 of file AbstractState.cpp.
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.
const TimeStampedState* opl::interface::AbstractState::getCurrentState | ( | ) | const [inline] |
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.
friend class AbstractStateFactory [friend] |
Definition at line 52 of file AbstractState.h.
const TimeStampedState* opl::interface::AbstractState::currentState [protected] |
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.