Physics::Visitor Class Reference

Visitor for physics that traverses hierarchies. More...

#include <Visitor.h>

Inheritance diagram for Physics::Visitor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void apply (AbstractGeom &geom)
virtual void apply (Space &geom)
virtual void apply (Geom &geom)
virtual void apply (Body &body)
virtual void apply (Joint &joint)
void traverse (AbstractGeom &aGeom)
void traverse (Body &body)
void traverse (Joint &joint)


Detailed Description

Visitor for physics that traverses hierarchies.

There is nothing already implemented in it that ensures that traversed bodies & joints will be visited only once. Use PhysicsVisitorSmart instead.

Author:
Sukender
Version:
0.2.0 - Simple version (Only traverses downwards)

Definition at line 45 of file Visitor.h.


Member Function Documentation

virtual void Physics::Visitor::apply ( Joint joint  )  [inline, virtual]

Reimplemented in Physics::VisitorSmart.

Definition at line 51 of file Visitor.h.

References traverse().

virtual void Physics::Visitor::apply ( Body body  )  [inline, virtual]

Reimplemented in Physics::VisitorSmart.

Definition at line 50 of file Visitor.h.

References traverse().

virtual void Physics::Visitor::apply ( Geom geom  )  [inline, virtual]

Reimplemented in GeomTranslateVisitor, GeomRotateVisitor, and FindVisitor.

Definition at line 49 of file Visitor.h.

References apply().

Referenced by apply().

virtual void Physics::Visitor::apply ( Space geom  )  [inline, virtual]

Definition at line 48 of file Visitor.h.

References apply().

Referenced by apply().

virtual void Physics::Visitor::apply ( AbstractGeom geom  )  [inline, virtual]

void Physics::Visitor::traverse ( Joint joint  )  [inline]

Definition at line 63 of file Visitor.h.

void Physics::Visitor::traverse ( Body body  )  [inline]

Definition at line 58 of file Visitor.h.

References Physics::Body::traverse().

void Physics::Visitor::traverse ( AbstractGeom aGeom  )  [inline]


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

Generated on Sun Jan 17 11:39:37 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9