Reader.h
Go to the documentation of this file.
1 
7 #include <vector>
8 
9 #include "Map.h"
10 #include "EnvironmentOptions.h"
11 #include "Agent.h"
12 
13 #ifndef ORCA_READER_H
14 #define ORCA_READER_H
15 
16 
21 class Reader
22 {
23  public:
27  virtual ~Reader(){}
28 
33  virtual bool ReadData() = 0;
34 
40  virtual bool GetMap(Map **map) = 0;
41 
47  virtual bool GetEnvironmentOptions(EnvironmentOptions **envOpt) = 0;
48 
55  virtual bool GetAgents(std::vector<Agent *> &agents, const int &numThreshold) = 0;
56 
62  virtual Reader* Clone() const = 0;
63 };
64 
65 
66 #endif //ORCA_READER_H
Reader class implements base interface for input data reading.
Definition: Reader.h:21
virtual bool GetMap(Map **map)=0
Abstract method. Should creates object with static environment data.
virtual bool ReadData()=0
Abstract method. Should starts input data reading from file or from another source.
File contains Map class.
virtual Reader * Clone() const =0
Abstract method for cloning inheritors objects. Implementations of this method should create copy of ...
virtual ~Reader()
Reader virtual destructor.
Definition: Reader.h:27
Class EnvironmentOptions contains environment and algoritms parameters.
Map class describes static environment.
Definition: Map.h:36
File contains EnvironmentOptions class.
virtual bool GetAgents(std::vector< Agent * > &agents, const int &numThreshold)=0
Abstract method. Should creates object for all agents.
File contains Agent class and AgentParam class.
virtual bool GetEnvironmentOptions(EnvironmentOptions **envOpt)=0
Abstract method. Should creates object with algorithms and environment parameters.


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