|
API New Year
1.0
API for the project ZIA, EPITECH 2017.
|
Base class used to execute modules in the ExecutionLine. More...
#include <IObserver.h>

Public Member Functions | |
| virtual const std::string & | getName (void) const =0 |
| Getter for corresponding modules name. More... | |
| virtual int | getPriority (void) const =0 |
| Getter for corresponding modules priority. More... | |
| virtual int | update (IHttpClient *client)=0 |
| Executes the function passed to the interfaces constructor. More... | |
Base class used to execute modules in the ExecutionLine.
Establishes the base architecture to allow modules to be executed by defining how they are executed by the ExecutionLine, and what information the ExecutionLine has for each module.
|
pure virtual |
Getter for corresponding modules name.
IObserver get name of creating module.
|
pure virtual |
Getter for corresponding modules priority.
IObserver get the priority of the creating module.
|
pure virtual |
Executes the function passed to the interfaces constructor.
IObserver executes the modules main function through a function pointer.
| client | the clients information. |