RType
Public Member Functions | Protected Attributes | List of all members
IService Class Referenceabstract

#include <IService.hpp>

Inheritance diagram for IService:
Inheritance graph
[legend]

Public Member Functions

virtual ~IService ()=default
 Construct a new IService:: IService object. More...
 
virtual void update (std::shared_ptr< Event > event, std::shared_ptr< IComponentRType > component)=0
 update, update the service More...
 
virtual void update (IGame *game, std::vector< IObject * > objects)=0
 

Protected Attributes

std::shared_ptr< ServerSocket_serverSocket
 

Detailed Description

Definition at line 10 of file IService.hpp.

Constructor & Destructor Documentation

◆ ~IService()

virtual IService::~IService ( )
virtualdefault

Construct a new IService:: IService object.

Parameters
serverSocket

Member Function Documentation

◆ update() [1/2]

virtual void IService::update ( IGame game,
std::vector< IObject * >  objects 
)
pure virtual

◆ update() [2/2]

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

update, update the service

Parameters
event
component

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

Member Data Documentation

◆ _serverSocket

std::shared_ptr<ServerSocket> IService::_serverSocket
protected

Definition at line 28 of file IService.hpp.


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