Go to the SVN repository for this file.
1 #ifndef GUI_FRAMEWORK___SERVICE__HPP 2 #define GUI_FRAMEWORK___SERVICE__HPP 93 stringt_name(
typeid(
T).name());
IServiceLocatorConsumer - classes that need IServiceLocator should implement this interface.
IServiceLocator - an abstract mechanism for locating services.
IService an abstraction that represents an application component providing specific functional capa...
void Consumer_SetLocator(T *obj, IServiceLocator *locator)
CIRef< T > GetServiceByType()
retrieves a typed reference to a service, the name of C++ type is used as the name of the service.
virtual bool HasService(const string &name)=0
returns true if the service exists within the scope of the locator
virtual ~IServiceLocatorConsumer()
virtual void SetServiceLocator(IServiceLocator *locator)=0
virtual void InitService()=0
virtual void ShutDownService()=0
virtual CIRef< IService > GetService(const string &name)=0
retrieves the service
virtual ~IServiceLocator()
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIFRAMEWORK_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4