root / branches / simulator / projects / simulator / simulator / core / logger.h @ 1128
History | View | Annotate | Download (323 Bytes)
1 |
#ifndef LOGGER_H
|
---|---|
2 |
#define LOGGER_H
|
3 |
|
4 |
#include "robot.h" |
5 |
#include <stdio.h> |
6 |
|
7 |
#define CREATE_STEP -2 |
8 |
|
9 |
FILE* file; |
10 |
|
11 |
int setWriteFile( char *name, char* worldName); |
12 |
int setReadFile( char *name, char **worldName); |
13 |
void commit(Robot* robot,int index, int timeStep); |
14 |
|
15 |
|
16 |
int getStep();
|
17 |
int getLog(Robot* robot);
|
18 |
|
19 |
|
20 |
#endif
|