![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <scenario/mobility/roadmap/Map.hpp>

Public Member Functions | |
| MapUser * | createNewUser (double velocity) |
| This method returns a MapUser Object for a new User with a given velocity. | |
| wns::Position | getNextPosition (MapUser *user, simTimeType dt) |
| This method returns an updated position for a mobile user based on its previous parameters. Contrary to the pospar concept used in the past, the responsibilty for the parameters is exclusively with the map. For the user it's like a sealed envelope. | |
| MapObject * | getObject (const MapObject::ID id) |
| returns the MapObject Ptr for the object with the given id | |
| wns::Position | getPosition (MapUser *user) |
| This method returns the current position of a mobile user based on its current parameters. | |
| Map (const wns::pyconfig::View &roadmapView) | |
| pyconfig::Parser constructor | |
| ~Map () | |
| Destructor. | |
Private Types | |
| typedef std::vector< MapObject * > | MapObjectContainer |
| typedef std::vector < MapObject::ID > | StreetIDContainer |
Private Member Functions | |
| void | checkConsistency () |
| checks whether all streets and crossings are fully connected | |
Private Attributes | |
| wns::distribution::StandardUniform * | entryPointDist |
| wns::distribution::DiscreteUniform * | headingDist |
| RISELogger | log |
| MapObjectContainer | mapObjectContainer |
| wns::distribution::DiscreteUniform * | streetDist |
| the distributions required for the creation of new users | |
| StreetIDContainer | streetIDContainer |
Definition at line 49 of file Map.hpp.
typedef std::vector<MapObject*> rise::scenario::mobility::roadmap::Map::MapObjectContainer [private] |
typedef std::vector<MapObject::ID> rise::scenario::mobility::roadmap::Map::StreetIDContainer [private] |
| Map::Map | ( | const wns::pyconfig::View & | roadmapView | ) |
| wns::Position Map::getNextPosition | ( | MapUser * | user, | |
| simTimeType | dt | |||
| ) |
| MapObject * Map::getObject | ( | const MapObject::ID | id | ) |
| wns::Position Map::getPosition | ( | MapUser * | user | ) |
1.5.5