Public Member Functions | List of all members
Logger Class Referenceabstract

Logger class implements base interface for system state logging. More...

#include <Logger.h>

Inheritance diagram for Logger:
Inheritance graph
[legend]

Public Member Functions

virtual LoggerClone () const =0
 Abstract method for cloning inheritors objects. Implementations of this method should create copy of object in memmory and return pointer to copy. More...
 
virtual bool GenerateLog ()=0
 Abstract method for creating final log in file or another format. More...
 
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, curren goals on each step, success of each agent. More...
 
virtual void SetSummary (const Summary &res)=0
 Abstract method. Should sets brief information about execution results. More...
 
virtual ~Logger ()
 Logger virtual destructor. More...
 

Detailed Description

Logger class implements base interface for system state logging.

Definition at line 22 of file Logger.h.

Constructor & Destructor Documentation

virtual Logger::~Logger ( )
inlinevirtual

Logger virtual destructor.

Definition at line 28 of file Logger.h.

Member Function Documentation

virtual Logger* Logger::Clone ( ) const
pure virtual

Abstract method for cloning inheritors objects. Implementations of this method should create copy of object in memmory and return pointer to copy.

Returns
Pointer to copy of object

Implemented in XMLLogger.

virtual bool Logger::GenerateLog ( )
pure virtual

Abstract method for creating final log in file or another format.

Returns
Succsess of log creating.

Implemented in XMLLogger.

virtual void Logger::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 
)
pure virtual

Abstract method. Should sets full information about execution, including states on each step, curren goals on each step, success of each agent.

Parameters
stepsLogAgent states on each step.
goalsLogAgent curren goals on each step.
resultsLogSuccess of each agent and number of steps of each agent.

Implemented in XMLLogger.

virtual void Logger::SetSummary ( const Summary res)
pure virtual

Abstract method. Should sets brief information about execution results.

Parameters
resExecution results in brief form.

Implemented in XMLLogger.


The documentation for this class was generated from the following file:


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