Thread: How do you synchronize them?

  1. #1
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489

    Smile How do you synchronize them?

    1. You have a good design and concept.

    2. You already implement them in libraries/module/classes.

    3. You tested them(the input and output) in a console and they works well.

    4. How do you make an Graphical User Interface based on step 2, while the GUI has its design/algorithm itself?

    For instance,

    1. I already have a WayPoint Pathfinding design. This WayPoint is just like ordinary cartesians Point(x, y) structure except it has relationship to Link(a.k.a Edge) that links wayPointX to wayPointY ... wayPointZ. Or just call it a Graph xD.

    2. Yes, I already write them in Java, C(simplified OOP), C++(MSVC), Delphi and VB 2008 classes and modules.

    3. I tested the MotionGuide class, its job to find the shortest path(I named it MotionPath) from wayPointX to wayPointY. Multithreaded recursive, and it works very well.

    4. Now I want to visualize the WayPoint and Link class. Using Graphics Context. And the visualized WayPoint/Link has its additional properties such as rotations and bounds.

    ...

    ...

    You don't have to answer this question. Huh? I already know its answer by writing this thread LOL Thx!

    Just extends the WayPoint and Link class to support the GUI Context.
    Just GET it OFF out my mind!!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    http://en.wikipedia.org/wiki/Model-view-controller
    What you've done so far is the model.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Synchronize the computertime
    By franse in forum C++ Programming
    Replies: 1
    Last Post: 10-26-2008, 05:44 AM
  2. SYnchronize read & write of a cache file
    By lei_michelle in forum C Programming
    Replies: 4
    Last Post: 02-26-2008, 05:49 PM
  3. Replies: 0
    Last Post: 10-06-2007, 01:25 PM
  4. Do I need to synchronize?
    By Hunter2 in forum Windows Programming
    Replies: 4
    Last Post: 09-16-2003, 01:52 AM