Track::CollisionDeallocator< A > Class Template Reference

Deletes a collision shape and associated mesh together. More...

List of all members.

Public Member Functions

 CollisionDeallocator (A *mesh)
 Construct associating with an associated mesh.
template<class T>
void operator() (T shape)
 Delete collision shape and associated mesh.

Private Attributes

A * m_mesh
 The associated mesh to delete when finished.


Detailed Description

template<class A>
class Track::CollisionDeallocator< A >

Deletes a collision shape and associated mesh together.

A type of mesh to delete.

Definition at line 91 of file Track.cpp.


Constructor & Destructor Documentation

template<class A>
Track::CollisionDeallocator< A >::CollisionDeallocator ( A *  mesh  )  [inline]

Construct associating with an associated mesh.

Parameters:
mesh The associated mesh.

Definition at line 97 of file Track.cpp.


Member Function Documentation

template<class A>
template<class T>
void Track::CollisionDeallocator< A >::operator() ( shape  )  [inline]

Delete collision shape and associated mesh.

T the type of collision shape to delete.

Parameters:
shape The collisions shape to delete.

Definition at line 105 of file Track.cpp.


Member Data Documentation

template<class A>
A* Track::CollisionDeallocator< A >::m_mesh [private]

The associated mesh to delete when finished.

Definition at line 112 of file Track.cpp.


The documentation for this class was generated from the following file:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.