#include <history_.hpp>
Metody publiczne | |
void | add (AnimalParam ¶m, unsigned int t) |
AnimalParam | get (unsigned int t) |
History_ () | |
void | saveToMFile (fstream &plik, unsigned int i) |
Atrybuty chronione | |
list< HistoryStruct > | _story |
Atrybuty prywatne | |
list< HistoryStruct >::iterator | _iterStory |
HistoryStruct | _tmpHist |
History_::History_ | ( | ) |
Konstruktor.
void History_::add | ( | AnimalParam & | param, | |
unsigned int | t | |||
) |
Dodaj moment historyczny
parametry | w danym momencie | |
moment | [ms] |
AnimalParam History_::get | ( | unsigned int | t | ) |
Pobierz moment historyczny
moment | [ms] |
void History_::saveToMFile | ( | fstream & | plik, | |
unsigned int | i | |||
) |
Wykonuje zrzut historii do pliku w formacie m-file (tworzy tabele).o nazwie: [prefix][num]
adres | do pliku | |
i | - id przyjety do zapisu |
list<HistoryStruct>::iterator History_::_iterStory [private] |
list<HistoryStruct> History_::_story [protected] |
HistoryStruct History_::_tmpHist [private] |