Logger.h
Go to the documentation of this file.
1 
7 #ifndef ORCA_LOGGER_H
8 #define ORCA_LOGGER_H
9 
10 #include <string>
11 #include <vector>
12 
13 #include "Summary.h"
14 #include "Geom.h"
15 #include "Agent.h"
16 
17 
22 class Logger
23 {
24  public:
28  virtual ~Logger() {};
29 
34  virtual bool GenerateLog() = 0;
35 
40  virtual void SetSummary(const Summary &res) = 0;
41 
49  virtual void
50  SetResults(const std::unordered_map<int, std::vector<Point>> &stepsLog, const std::unordered_map<int, std::vector<Point>> &goalsLog,
51  const std::unordered_map<int, std::pair<bool, int>> &resultsLog) = 0;
52 
58  virtual Logger* Clone() const = 0;
59 };
60 
61 
62 #endif //ORCA_LOGGER_H
Logger class implements base interface for system state logging.
Definition: Logger.h:22
File contains Summary class.
Class Summary contains brief information about execution results.
Definition: Summary.h:32
virtual bool GenerateLog()=0
Abstract method for creating final log in file or another format.
virtual ~Logger()
Logger virtual destructor.
Definition: Logger.h:28
File contains Node, Point, Line, Vertex, ObstacleSegment classes and some methods and functions imple...
virtual Logger * Clone() const =0
Abstract method for cloning inheritors objects. Implementations of this method should create copy of ...
virtual void SetResults(const std::unordered_map< int, std::vector< Point >> &stepsLog, const std::unordered_map< int, std::vector< Point >> &goalsLog, const std::unordered_map< int, std::pair< bool, int >> &resultsLog)=0
Abstract method. Should sets full information about execution, including states on each step...
File contains Agent class and AgentParam class.
virtual void SetSummary(const Summary &res)=0
Abstract method. Should sets brief information about execution results.


ORCAStar
Author(s): Stepan Drgachev
autogenerated on Wed Jul 15 2020 16:13:14