#include <lazy_edge_model.h>


Public Member Functions | |
| LazyEdgeModel () | |
| virtual | ~LazyEdgeModel () |
| virtual int | nof_adjacent_nodes (const Node &, CommunicationDirection d=CD_BIDI) const throw () |
| virtual const_adjacency_iterator | begin_adjacent_nodes (const Node &, CommunicationDirection d=CD_BIDI) const throw () |
| virtual const_adjacency_iterator | end_adjacent_nodes (const Node &) const throw () |
| virtual adjacency_iterator | begin_adjacent_nodes_w (Node &, CommunicationDirection d=CD_BIDI) throw () |
| virtual adjacency_iterator | end_adjacent_nodes_w (Node &) throw () |
| virtual Box | observer_initial_zone (Node &, const Vec &pos, const Vec &velo) throw () |
| virtual Box | observer_update_zone (Node &, const Vec &newpos, const Vec &velo) throw () |
| virtual bool | supports_mobility (void) const throw () |
| virtual void | node_added (Node &) throw () |
| Is called whenever a node gets added to the world. | |
| virtual void | node_removed (Node &) throw () |
| Is called whenever a node gets removed from the world. | |
Classes | |
| class | LazyIteratorHelper |
| shawn::LazyEdgeModel::LazyEdgeModel | ( | ) |
| virtual shawn::LazyEdgeModel::~LazyEdgeModel | ( | ) | [virtual] |
| virtual int shawn::LazyEdgeModel::nof_adjacent_nodes | ( | const Node & | , | |
| CommunicationDirection | d = CD_BIDI | |||
| ) | const throw () [virtual] |
Implements shawn::EdgeModel.
| virtual const_adjacency_iterator shawn::LazyEdgeModel::begin_adjacent_nodes | ( | const Node & | , | |
| CommunicationDirection | d = CD_BIDI | |||
| ) | const throw () [virtual] |
Implements shawn::EdgeModel.
| virtual const_adjacency_iterator shawn::LazyEdgeModel::end_adjacent_nodes | ( | const Node & | ) | const throw () [virtual] |
Implements shawn::EdgeModel.
| virtual adjacency_iterator shawn::LazyEdgeModel::begin_adjacent_nodes_w | ( | Node & | , | |
| CommunicationDirection | d = CD_BIDI | |||
| ) | throw () [virtual] |
Implements shawn::EdgeModel.
| virtual adjacency_iterator shawn::LazyEdgeModel::end_adjacent_nodes_w | ( | Node & | ) | throw () [virtual] |
Implements shawn::EdgeModel.
| virtual Box shawn::LazyEdgeModel::observer_initial_zone | ( | Node & | , | |
| const Vec & | newpos, | |||
| const Vec & | velo | |||
| ) | throw () [virtual] |
Returns an initial bounding box. If a node leaves this box, observer_update_zone() must be called - by convention - by the observed movement to retrieve a new box.
Implements shawn::MovementObserver.
| virtual Box shawn::LazyEdgeModel::observer_update_zone | ( | Node & | , | |
| const Vec & | newpos, | |||
| const Vec & | velo | |||
| ) | throw () [virtual] |
Informs this Observer that the old box has been left by the NodeMovement / Node. A new box must be provided by this method.
Implements shawn::MovementObserver.
| virtual bool shawn::LazyEdgeModel::supports_mobility | ( | void | ) | const throw () [virtual] |
Implements shawn::EdgeModel.
| virtual void shawn::LazyEdgeModel::node_added | ( | Node & | ) | throw () [virtual] |
| virtual void shawn::LazyEdgeModel::node_removed | ( | Node & | ) | throw () [virtual] |
1.5.6