Caelum  0.6.4
Public Types | Static Public Member Functions | List of all members
Caelum::MovableObjectPrivatePtrTraits< MovableT > Struct Template Reference

PrivatePtr traits for a movable object. More...

#include <PrivatePtr.h>

Inheritance diagram for Caelum::MovableObjectPrivatePtrTraits< MovableT >:
[legend]

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).
 

Detailed Description

template<class MovableT>
struct Caelum::MovableObjectPrivatePtrTraits< MovableT >

PrivatePtr traits for a movable object.

This kind of pointer will remove the movable from the scene and destroy it.