Thread: vhil module
View Single Post
  #1  
Old 01-26-2005, 08:04 PM
vadrian vadrian is offline
Member
 
Join Date: Sep 2004
Posts: 32
vhil module

so i want to make a "vhil" module that works in much the same way as the "viz" module. that is, make generic calls like vhil.add, vhil.get, vhil.callback, etc., but it does some added functionality not built into vizard, but necessary for our projects.

Basically, people at our lab are reinventing the wheel a lot, and i want to make a generic library that makes common calls to the viz library.

so my questions so far are:

1) if I call viz.callback(viz.TIMER_EVENT, ...) or for any callback type, will my module overwrite any callbacks set by the user? or will it just add another callback?

2) if the user starts a timer with the same number as one of my timers, and both their script and my module have timer-event callbacks, will we both get eachother's timer events, or do the two viz.callback(...) calls set up independent timer/callback systems.

i hope this makes sense, as the rest of my questions depend on the answers for these two. thanks

adrian
Reply With Quote