RType
Public Member Functions | List of all members
AService Class Referenceabstract

#include <AService.hpp>

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

Public Member Functions

 AService (std::shared_ptr< ServerSocket > serverSocket)
 Construct a new AService:: AService object. More...
 
 ~AService () override=default
 Destroy the AService:: AService object. More...
 
virtual void update (std::shared_ptr< Event > event, std::shared_ptr< IComponentRType > component)=0
 update, update the service 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 13 of file AService.hpp.

Constructor & Destructor Documentation

◆ AService()

AService::AService ( std::shared_ptr< ServerSocket serverSocket)
explicit

Construct a new AService:: AService object.

Parameters
serverSocket

Definition at line 16 of file AService.cpp.

◆ ~AService()

AService::~AService ( )
overridedefault

Destroy the AService:: AService object.

Member Function Documentation

◆ update()

virtual void AService::update ( std::shared_ptr< Event event,
std::shared_ptr< IComponentRType component 
)
pure virtual

update, update the service

Parameters
event
component

Implements IService.

Implemented in TimeManagement, Spawner, Move, Graphic, Collision, and Animation.


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