#include <TrajPlayback.hpp>
Public Member Functions | |
virtual void | destroy () |
virtual void | didBecomeActive (const TKState ¤tState, const Behavior &previousBehavior) |
virtual void | didBecomeInActive (const TKState ¤tState, const Behavior &nextBehavior) |
virtual void | initialize () |
virtual bool | isValid (const TKState ¤tState) const |
virtual void | trajectoryStepActive (const TKState ¤tState, TKTrajectory &generatedTrajInput) |
virtual void | trajectoryStepCreation (const TKState ¤tState, TKTrajectory &generatedTrajInput) |
virtual void | trajectoryStepTermination (const TKState ¤tState, TKTrajectory &generatedTrajInput) |
TrajPlayback () | |
virtual bool | willBecomeActive (const TKState ¤tState, const Behavior &previousBehavior) |
virtual void | willBecomeInActive (const TKState ¤tState, const Behavior &nextBehavior) |
Protected Member Functions | |
bool | setNextTrajInput () |
Protected Attributes | |
std::ifstream | file |
std::vector< std::string > | fileFields |
double | nextTimeStep |
TKTrajectory | nextTrajInput |
unsigned int | playbackPosition |
Timer | timer |
Option< std::string > * | tTrajectoryFilename |
Definition at line 26 of file TrajPlayback.hpp.
Definition at line 20 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::destroy | ( | ) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 36 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::didBecomeActive | ( | const TKState & | currentState, |
const Behavior & | previousBehavior | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 75 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::didBecomeInActive | ( | const TKState & | currentState, |
const Behavior & | nextBehavior | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 86 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::initialize | ( | ) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 26 of file TrajPlayback.cpp.
bool telekyb_behavior::TrajPlayback::isValid | ( | const TKState & | currentState | ) | const [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 234 of file TrajPlayback.cpp.
bool telekyb_behavior::TrajPlayback::setNextTrajInput | ( | ) | [protected] |
Definition at line 93 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::trajectoryStepActive | ( | const TKState & | currentState, |
TKTrajectory & | generatedTrajInput | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 215 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::trajectoryStepCreation | ( | const TKState & | currentState, |
TKTrajectory & | generatedTrajInput | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 208 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::trajectoryStepTermination | ( | const TKState & | currentState, |
TKTrajectory & | generatedTrajInput | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 227 of file TrajPlayback.cpp.
bool telekyb_behavior::TrajPlayback::willBecomeActive | ( | const TKState & | currentState, |
const Behavior & | previousBehavior | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 41 of file TrajPlayback.cpp.
void telekyb_behavior::TrajPlayback::willBecomeInActive | ( | const TKState & | currentState, |
const Behavior & | nextBehavior | ||
) | [virtual] |
Implements TELEKYB_NAMESPACE::Behavior.
Definition at line 81 of file TrajPlayback.cpp.
std::ifstream telekyb_behavior::TrajPlayback::file [protected] |
Definition at line 33 of file TrajPlayback.hpp.
std::vector<std::string> telekyb_behavior::TrajPlayback::fileFields [protected] |
Definition at line 30 of file TrajPlayback.hpp.
double telekyb_behavior::TrajPlayback::nextTimeStep [protected] |
Definition at line 35 of file TrajPlayback.hpp.
Definition at line 39 of file TrajPlayback.hpp.
unsigned int telekyb_behavior::TrajPlayback::playbackPosition [protected] |
Definition at line 36 of file TrajPlayback.hpp.
Timer telekyb_behavior::TrajPlayback::timer [protected] |
Definition at line 37 of file TrajPlayback.hpp.
Option<std::string>* telekyb_behavior::TrajPlayback::tTrajectoryFilename [protected] |
Definition at line 28 of file TrajPlayback.hpp.