forked from PathPlanning/AStar-JPS-ThetaStar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ilogger.h
27 lines (23 loc) · 862 Bytes
/
ilogger.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef ILOGGER_H
#define ILOGGER_H
#include <ctime>
#include "map.h"
#include "list.h"
#include <string>
#include <unordered_map>
#include <unordered_set>
class ILogger
{
public:
virtual bool getLog(const char* FileName, const std::string* LogParams) = 0;
virtual void saveLog() = 0;
virtual void writeToLogMap(const Map& map, const NodeList& path) = 0;
virtual void writeToLogOpenClose(const NodeList *open, const std::unordered_map<int,Node>& close, int size) = 0;
virtual void writeToLogPath(const NodeList& path) = 0;
virtual void writeToLogHPpath(const NodeList& path) = 0;
virtual void writeToLogNotFound() = 0;
virtual void writeToLogSummary(unsigned int numberofsteps, unsigned int nodescreated, float length, double time) = 0;
public:
unsigned int loglevel;
};
#endif