RType
AService.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** R-type
4 ** File description:
5 ** R-type
6 */
7 
8 #pragma once
9 
10 #include "IComponent.hpp"
11 #include "IService.hpp"
12 
13 class AService : public IService
14 {
15  public:
16 
17  /**
18  * @brief Construct a new AService:: AService object
19  * @param serverSocket
20  */
21  explicit AService(std::shared_ptr<ServerSocket> serverSocket);
22 
23  /**
24  * @brief Destroy the AService:: AService object
25  */
26  ~AService() override = default;
27 
28  virtual void update(std::shared_ptr<Event> event, std::shared_ptr<IComponentRType> component) = 0;
29 };