#include <trafficmap.h>
Public Types | |
typedef std::unordered_multimap< adore::env::BorderBased::BorderID, std::pair< adore::env::BorderBased::BorderPositioning< 4 >, adore::env::traffic::Participant::TTrackingID >, adore::env::BorderBased::BorderIDHasher > | TBorderToParticipant |
typedef std::unordered_multimap< adore::env::traffic::Participant::TTrackingID, std::pair< adore::env::BorderBased::BorderID, adore::env::BorderBased::BorderPositioning< 4 > > > | TParticipantToBorder |
typedef std::unordered_multimap< adore::env::traffic::Participant::TTrackingID, adore::env::traffic::Participant > | TTrackingIDToParticipant |
Public Member Functions | |
TParticipantSet & | getTrafficParticipantSet () |
Get the set of traffic participants. More... | |
adore::env::BorderBased::BorderSet * | getBorderSet () |
Get the border set. More... | |
const TBorderToParticipant & | getBorderToParticipant () const |
Get the border to participant map. More... | |
const TParticipantToBorder & | getParticipantToBorder () const |
Get the participant to border map. More... | |
const TTrackingIDToParticipant & | getTrackingIDToParticipant () const |
Get the tracking id to participant map. More... | |
TrafficMap (adore::env::BorderBased::BorderSet *borderSet) | |
Construct a new TrafficMap object. More... | |
TrafficMap (adore::env::BorderBased::BorderSet *borderSet, adore::env::AFactory *factory) | |
Construct a new TrafficMap object. More... | |
void | update () |
Update the TrafficMap. More... | |
void | matchBorders () |
Match traffic to borders. More... | |
Class to represent traffic data
typedef std::unordered_multimap<adore::env::traffic::Participant::TTrackingID,std::pair<adore::env::BorderBased::BorderID,adore::env::BorderBased::BorderPositioning<4> > > adore::env::traffic::TrafficMap::TParticipantToBorder |
typedef std::unordered_multimap<adore::env::traffic::Participant::TTrackingID,adore::env::traffic::Participant> adore::env::traffic::TrafficMap::TTrackingIDToParticipant |
|
inline |
Construct a new TrafficMap object.
borderSet | set of borders |
|
inline |
Construct a new TrafficMap object.
borderSet | set of borders |
factory |
|
inline |
Get the border set.
|
inline |
Get the border to participant map.
|
inline |
Get the participant to border map.
|
inline |
Get the tracking id to participant map.
|
inline |
Get the set of traffic participants.
|
inline |
Match traffic to borders.
|
inline |
Update the TrafficMap.
|
private |
set of borders
|
private |
Borders mapped to participants
|
private |
set of participants
|
private |
Participants mapped to borders
|
private |
reader of traffic participants
|
private |
TrackingIDs mapped to participants