|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
Helper class for the cast used in the MPL for_each algorithm in the implementation of queryInterface. More...
#include <implements.h>

Public Member Functions | |
| interfaceMatch (THIS *_instance, const InterfaceID &_tid, void *&_ptr) | |
| template<typename IID > | |
| void | operator() (IID) |
Public Attributes | |
| const InterfaceID & | target |
| InterfaceID for the requested interface. | |
| void *& | ptr |
| Pointer to be filled. | |
| THIS * | instance |
| Value of this. | |
Helper class for the cast used in the MPL for_each algorithm in the implementation of queryInterface.
Definition at line 34 of file implements.h.
| interfaceMatch< THIS >::interfaceMatch | ( | THIS * | _instance, | |
| const InterfaceID & | _tid, | |||
| void *& | _ptr | |||
| ) | [inline] |
Definition at line 41 of file implements.h.
| void interfaceMatch< THIS >::operator() | ( | IID | ) | [inline] |
Definition at line 47 of file implements.h.
00047 { 00048 if ((!ptr) && target.versionMatch(IID::interfaceID())) { 00049 ptr = reinterpret_cast<void*>(static_cast<typename IID::iface_type*>(instance)); 00050 } 00051 }
| THIS* interfaceMatch< THIS >::instance |
Value of this.
Definition at line 40 of file implements.h.
| void*& interfaceMatch< THIS >::ptr |
Pointer to be filled.
Definition at line 38 of file implements.h.
| const InterfaceID& interfaceMatch< THIS >::target |
InterfaceID for the requested interface.
Definition at line 36 of file implements.h.