![]() |
Jopnal Engine
alpha 0.4
Simple Component Based 2D/3D Game Engine
|
#include <SafeReferenceable.hpp>
Public Member Functions | |
WeakReference< T > | getReference () const |
Get a weak reference to the bound object. More... | |
Protected Member Functions | |
SafeReferenceable (T *ref) | |
Constructor. More... | |
SafeReferenceable (SafeReferenceable< T > &&other) | |
Move constructor. More... | |
SafeReferenceable & | operator= (SafeReferenceable< T > &&other) |
Move assignment operator. More... | |
~SafeReferenceable () | |
Protected destructor. More... | |
Friends | |
class | WeakReference< T > |
Definition at line 36 of file SafeReferenceable.hpp.
|
protected |
Constructor.
ref | Pointer to the object to bind |
|
protected |
Move constructor.
other | The object to move |
|
protected |
Protected destructor.
WeakReference<T> jop::SafeReferenceable< T >::getReference | ( | ) | const |
Get a weak reference to the bound object.
|
protected |
Move assignment operator.
other | The object to move |
|
friend |
Definition at line 69 of file SafeReferenceable.hpp.