View Single Post

  #1 (permalink)  
Old 12-12-2006
VC_Man VC_Man is offline
Member
Green Belt
 
Join Date: Nov 2006
Posts: 87
How to handle track of multiple objects at the same time

Language: VC++
Using: Mappoint API embedded in my own app.

Hi best programmers,

I would like to have some advise of you.
On the map I want to be able to follow several obejcts (in the form of cars or persons) at the same time with their passed points.

For example I have object A and object B, I can see both A and B simultaneously where they go. I get the positions via a network. I can also click on a previous point to see at wich time they where on that place.

Now suppose I have let's say about six of those objects, than what is the best way to program it? Should I use threads or is there a way to put all the pushpins of a certain object in some kind of a collection....? Does somebody have a suggestion, it's just to get an idea of wich direction I have to think.

Thank you very much.
Reply With Quote