#include <Visitor.h>
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) |
There is nothing already implemented in it that ensures that traversed bodies & joints will be visited only once. Use PhysicsVisitorSmart instead.
Definition at line 45 of file Visitor.h.
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] |
virtual void Physics::Visitor::apply | ( | AbstractGeom & | geom | ) | [inline, virtual] |
Definition at line 47 of file Visitor.h.
References traverse().
Referenced by Physics::Space::accept(), Physics::Joint::accept(), Physics::Geom::accept(), Physics::Body::accept(), Physics::AbstractGeom::accept(), Physics::Geom::traverse(), and Physics::Body::traverse().
void Physics::Visitor::traverse | ( | Body & | body | ) | [inline] |
void Physics::Visitor::traverse | ( | AbstractGeom & | aGeom | ) | [inline] |
Definition at line 53 of file Visitor.h.
References Physics::AbstractGeom::traverse().
Referenced by apply(), GeomRotateVisitor::apply(), and GeomTranslateVisitor::apply().