Public Member Functions | Protected Attributes | List of all members
ServiceHandleBase< Service > Class Template Reference

Public Member Functions

Service * operator-> () const
 
Service & operator* () const
 

Protected Attributes

Service * instance = nullptr
 

Detailed Description

template<typename Service>
class ServiceHandleBase< Service >

Definition at line 85 of file ServiceUtil_test.cc.

Member Function Documentation

template<typename Service>
Service& ServiceHandleBase< Service >::operator* ( ) const
inline

Definition at line 88 of file ServiceUtil_test.cc.

88 { return *instance; }
template<typename Service>
Service* ServiceHandleBase< Service >::operator-> ( ) const
inline

Definition at line 87 of file ServiceUtil_test.cc.

87 { return instance; }

Member Data Documentation

template<typename Service>
Service* ServiceHandleBase< Service >::instance = nullptr
protected

Definition at line 90 of file ServiceUtil_test.cc.


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