Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. [Object design]Plenty of timed events to synchrnize. How to ? :-)

[Object design]Plenty of timed events to synchrnize. How to ? :-)

Scheduled Pinned Locked Moved Design and Architecture
c++designregexarchitecturetutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4688673
    wrote on last edited by
    #1

    Hi folks ! I'm trying to design an application (in C++ but that doesn't matter I guess, anything object-oriented would work the same) which has to synchronize a bunch of events together. Basically, you would have a several data structure instances which would contain lists of events. An event would have a timestamp and be "runable". The application would have to synchronize all the events, i.e : "run" them when their timestamp is equal to the current time, with an accuracy of 0.1 millisecond. Also, I would like to be able to input some additional events "real time" (as close as it can get to real time actually) I'm simply looking for the best way to do this (not necessarily to code it, but to design it, in terms of class digram). I have been googling a bit for that but I didn't find much. Apparently there's something called the "scehdule-task design pattern" but couldn't find any info about it. Any hints or ideas ?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups