AnimaL |
Tutorial |
Documentation |
#include <history.h>
Inheritance diagram for animal::HistoryS< Position, Velocity >:
Definition at line 142 of file history.h.
Public Types | |
typedef History< Position, Velocity > | Parent |
parent class | |
typedef Parent::List | List |
implicit type inheritance is now forbidden | |
Public Member Functions | |
HistoryS (double t, Position p, Velocity v, bool record=false) | |
Constructor uses initial state, so that the history can not be empty. This initial state is used for reset. | |
virtual void | write (std::ostream &out) const |
Write the whole history to the given output stream. | |
virtual void | read (std::istream &in) |
Read the whole history from the given input stream. No comments are allowed. |
|
implicit type inheritance is now forbidden
Reimplemented from animal::History< Position, Velocity >. |
|
parent class
|
|
Constructor uses initial state, so that the history can not be empty. This initial state is used for reset.
|
|
Read the whole history from the given input stream. No comments are allowed.
Implements animal::History< Position, Velocity >. Definition at line 164 of file history.h. References animal::History< Position, Velocity >::push_back(), animal::History< Position, Velocity >::reset(), and animal::History< Position, Velocity >::toggleRecord(). |
|
Write the whole history to the given output stream.
Implements animal::History< Position, Velocity >. |