|
Caelum
0.6.4
|
PrivatePtr traits for a movable object. More...
#include <PrivatePtr.h>
Public Types | |
| typedef MovableT * | InnerPointerType |
Public Types inherited from Caelum::DefaultPrivatePtrTraits< MovableT > | |
| typedef MovableT * | InnerPointerType |
| The type of the inner member to hold in PrivatePtr. | |
Static Public Member Functions | |
| static void | destroy (InnerPointerType &inner) |
Static Public Member Functions inherited from Caelum::DefaultPrivatePtrTraits< MovableT > | |
| static InnerPointerType | getNullValue () |
| Return an InnerPointerType repressenting a null value. | |
| static MovableT * | getPointer (const InnerPointerType &inner) |
| Convert InnerPointerType to a naked PointedT. | |
| static void | destroy (InnerPointerType &inner) |
| Destroy the inner value (and set null). | |
PrivatePtr traits for a movable object.
This kind of pointer will remove the movable from the scene and destroy it.