|
OpenEnroth 731eccc
|
#include <ProxyBase.h>
Public Member Functions | |
| ProxyBase (T *base) | |
| T * | base () const |
| void | setBase (T *base) |
Protected Member Functions | |
| T * | nonNullBase () const |
Private Attributes | |
| T * | base_ |
A convenient base class for other platform proxies. It provides common accessors for the base class, and exposes a nonNullBase method for derived classes to simplify implementations.
Note that it's perfectly OK for a proxy to point to a null base, and in this case base will return nullptr, but nonNullBase will assert, and thus you cannot really call any methods on such a proxy.
| T | Platform class to proxy, e.g. a PlatformWindow. |
|
inlineexplicit |
|
inline |
|
inlineprotected |
|
inline |
|
private |