-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathilogger.h
28 lines (24 loc) · 901 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
27
#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_set<Node>& close, int size, bool summary=false) = 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;
virtual ~ILogger() {}
public:
float loglevel;
};
#endif