Caelum
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 >:
Caelum::DefaultPrivatePtrTraits< MovableT >

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

Definition at line 160 of file PrivatePtr.h.


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