#include <AnimationPosition.h>
Enumerator |
---|
SIMULATION_TIME |
|
ANIMATION_TIME |
|
REAL_TIME |
|
Definition: AnimationPosition.h:33
Definition: AnimationPosition.h:31
Definition: AnimationPosition.h:32
inet::visualizer::AnimationPosition::AnimationPosition |
( |
| ) |
|
double realTime
Definition: AnimationPosition.h:39
double getAnimationTime() const
Definition: AnimationPosition.h:49
simtime_t simulationTime
Definition: AnimationPosition.h:37
double animationTime
Definition: AnimationPosition.h:38
double computeRealTime() const
Definition: AnimationPosition.cc:52
inet::visualizer::AnimationPosition::AnimationPosition |
( |
simtime_t |
simulationTime, |
|
|
double |
animationTime, |
|
|
double |
realTime |
|
) |
| |
double realTime
Definition: AnimationPosition.h:39
simtime_t simulationTime
Definition: AnimationPosition.h:37
double animationTime
Definition: AnimationPosition.h:38
double inet::visualizer::AnimationPosition::computeRealTime |
( |
| ) |
const |
|
protected |
55 gettimeofday(&tv, NULL);
56 return tv.tv_sec + tv.tv_usec / 1.0E+6;
double inet::visualizer::AnimationPosition::getAnimationTime |
( |
| ) |
const |
|
inline |
double inet::visualizer::AnimationPosition::getRealTime |
( |
| ) |
const |
|
inline |
simtime_t inet::visualizer::AnimationPosition::getSimulationTime |
( |
| ) |
const |
|
inline |
double inet::visualizer::AnimationPosition::getTime |
( |
TimeType |
type | ) |
const |
Referenced by inet::visualizer::AnimationSpeedInterpolator::getCurrentAnimationSpeed().
48 throw cRuntimeError(
"Unknown time type");
double realTime
Definition: AnimationPosition.h:39
simtime_t simulationTime
Definition: AnimationPosition.h:37
double animationTime
Definition: AnimationPosition.h:38
Definition: AnimationPosition.h:33
Definition: AnimationPosition.h:31
Definition: AnimationPosition.h:32
double realTime
Definition: AnimationPosition.h:39
simtime_t simulationTime
Definition: AnimationPosition.h:37
double animationTime
Definition: AnimationPosition.h:38
double inet::visualizer::AnimationPosition::animationTime |
|
protected |
double inet::visualizer::AnimationPosition::realTime |
|
protected |
simtime_t inet::visualizer::AnimationPosition::simulationTime |
|
protected |
The documentation for this class was generated from the following files: