shawn::LazyEdgeModel Class Reference

#include <lazy_edge_model.h>

Inheritance diagram for shawn::LazyEdgeModel:

Inheritance graph
[legend]
Collaboration diagram for shawn::LazyEdgeModel:

Collaboration graph
[legend]

List of all members.

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


Constructor & Destructor Documentation

shawn::LazyEdgeModel::LazyEdgeModel (  ) 

virtual shawn::LazyEdgeModel::~LazyEdgeModel (  )  [virtual]


Member Function Documentation

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]

Is called whenever a node gets added to the world.

Implements shawn::EdgeModel.

virtual void shawn::LazyEdgeModel::node_removed ( Node  )  throw () [virtual]

Is called whenever a node gets removed from the world.

Implements shawn::EdgeModel.


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

Generated on Sun Feb 5 00:00:53 2012 for Shawn by  doxygen 1.5.6