RType
Public Member Functions | List of all members
TimeManagement Class Reference

#include <TimeManagement.hpp>

Inheritance diagram for TimeManagement:
Inheritance graph
[legend]
Collaboration diagram for TimeManagement:
Collaboration graph
[legend]

Public Member Functions

 TimeManagement (std::shared_ptr< ServerSocket > serverSocket)
 Construct a new TimeManagement:: TimeManagement object. More...
 
void update (std::shared_ptr< Event > event, std::shared_ptr< IComponentRType > component) override
 update, update the time management More...
 
- Public Member Functions inherited from AService
 AService (std::shared_ptr< ServerSocket > serverSocket)
 Construct a new AService:: AService object. More...
 
 ~AService () override=default
 Destroy the AService:: AService object. More...
 
- Public Member Functions inherited from IService
virtual ~IService ()=default
 Construct a new IService:: IService object. More...
 
virtual void update (IGame *game, std::vector< IObject * > objects)=0
 

Additional Inherited Members

- Protected Attributes inherited from IService
std::shared_ptr< ServerSocket_serverSocket
 

Detailed Description

Definition at line 15 of file TimeManagement.hpp.

Constructor & Destructor Documentation

◆ TimeManagement()

TimeManagement::TimeManagement ( std::shared_ptr< ServerSocket serverSocket)
inlineexplicit

Construct a new TimeManagement:: TimeManagement object.

Parameters
serverSocket

Definition at line 23 of file TimeManagement.hpp.

References TimeManagement().

Referenced by TimeManagement().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ update()

void TimeManagement::update ( std::shared_ptr< Event event,
std::shared_ptr< IComponentRType component 
)
overridevirtual

update, update the time management

update, update the time

Parameters
event
component

Implements AService.

Definition at line 16 of file TimeManagement.cpp.


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