Visitor interface.
More...
#include <Shape.hpp>
Visitor interface.
Interface to inerit from for objects wishing to "visit" shapes. This uses the vistor design pattern.
- See also
- https://en.wikipedia.org/wiki/Visitor_pattern .
◆ ~Visitor()
virtual box2d::Shape::Visitor::~Visitor |
( |
| ) |
|
|
virtualdefault |
◆ Visit() [1/4]
virtual void box2d::Shape::Visitor::Visit |
( |
const CircleShape & |
shape | ) |
|
|
pure virtual |
◆ Visit() [2/4]
virtual void box2d::Shape::Visitor::Visit |
( |
const EdgeShape & |
shape | ) |
|
|
pure virtual |
◆ Visit() [3/4]
virtual void box2d::Shape::Visitor::Visit |
( |
const PolygonShape & |
shape | ) |
|
|
pure virtual |
◆ Visit() [4/4]
virtual void box2d::Shape::Visitor::Visit |
( |
const ChainShape & |
shape | ) |
|
|
pure virtual |
The documentation for this struct was generated from the following file: