#include <recorderhandler.h>
Inheritance diagram for oxygen::RecorderHandler:
Public Types | |
typedef std::set< boost::weak_ptr< Collider > > | TCollisionSet |
typedef std::list< boost::weak_ptr< Node > > | TParentList |
Public Member Functions | |
RecorderHandler () | |
virtual | ~RecorderHandler () |
virtual void | HandleCollision (boost::shared_ptr< Collider > collidee, dContact &contact) |
stores the collidee into the internal CollisionSet | |
void | Clear () |
removes all stored collisions from the recorder | |
void | GetParentsSupportingClass (const std::string &name, TParentList &list) |
constructs a list of nodes that are parent nodes of the stored collidee nodes and are an instance of or are derived from the given class. | |
Protected Attributes | |
TCollisionSet | mCollisionSet |
It is the resonsibility of the user to reset the recorder.
Definition at line 34 of file recorderhandler.h.
|
Definition at line 37 of file recorderhandler.h. |
|
Definition at line 38 of file recorderhandler.h. |
|
Definition at line 41 of file recorderhandler.h. |
|
Definition at line 42 of file recorderhandler.h. |
|
removes all stored collisions from the recorder
Definition at line 36 of file recorderhandler.cpp. References mCollisionSet. |
|
constructs a list of nodes that are parent nodes of the stored collidee nodes and are an instance of or are derived from the given class.
Definition at line 43 of file recorderhandler.cpp. |
|
stores the collidee into the internal CollisionSet
Implements oxygen::CollisionHandler. Definition at line 30 of file recorderhandler.cpp. |
|
Definition at line 70 of file recorderhandler.h. Referenced by Clear(). |