Design Pattern Examples
Overview of object-oriented design patterns
Proxy_RealService.h File Reference

Declaration of the real service, accessed through the GetRealService() function, as used in the Proxy Pattern. More...

Include dependency graph for Proxy_RealService.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __PROXY_REALSERVICE_H__
 

Functions

IWorkByProxyGetRealService (void)
 Return a pointer to the real service expressed as an IWorkByProxy service.
 

Detailed Description

Declaration of the real service, accessed through the GetRealService() function, as used in the Proxy Pattern.

Definition in file Proxy_RealService.h.

Macro Definition Documentation

◆ __PROXY_REALSERVICE_H__

#define __PROXY_REALSERVICE_H__

Definition at line 8 of file Proxy_RealService.h.

Function Documentation

◆ GetRealService()

IWorkByProxy * GetRealService ( void  )

Return a pointer to the real service expressed as an IWorkByProxy service.

Returns
Returns an IWorkByProxy object representing the real service.

Definition at line 53 of file Proxy_RealService.c.

References _real_service.

Referenced by Proxy_GetRealService().