neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::services::i_service_provider Class Referenceabstract

#include <services.hpp>

Public Member Functions

virtual ~i_service_provider ()=default
 
virtual void lock ()=0
 
virtual void unlock ()=0
 
virtual bool service_registered (uuid aServiceIid) const =0
 
virtual i_serviceservice (uuid aServiceIid)=0
 
virtual void register_service (i_service &aService, uuid aServiceIid)=0
 
virtual void unregister_service (uuid aServiceIid)=0
 
template<typename Service >
Serviceservice ()
 

Detailed Description

Definition at line 62 of file services.hpp.

Constructor & Destructor Documentation

◆ ~i_service_provider()

virtual neolib::services::i_service_provider::~i_service_provider ( )
virtualdefault

Member Function Documentation

◆ lock()

virtual void neolib::services::i_service_provider::lock ( )
pure virtual

◆ register_service()

virtual void neolib::services::i_service_provider::register_service ( i_service aService,
uuid  aServiceIid 
)
pure virtual

◆ service() [1/2]

template<typename Service >
Service & neolib::services::i_service_provider::service ( )
inline

Definition at line 76 of file services.hpp.

◆ service() [2/2]

virtual i_service & neolib::services::i_service_provider::service ( uuid  aServiceIid)
pure virtual

◆ service_registered()

virtual bool neolib::services::i_service_provider::service_registered ( uuid  aServiceIid) const
pure virtual

◆ unlock()

virtual void neolib::services::i_service_provider::unlock ( )
pure virtual

◆ unregister_service()

virtual void neolib::services::i_service_provider::unregister_service ( uuid  aServiceIid)
pure virtual

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