Hi All, I'm writing the pair of QC Patches as described in this thread
http://www.vidvox.net/phpBB2/viewtopic.php?t=3930

To cut a long story short, I have one custom QCPatch to send data
[[NSNotificationCenter defaultCenter] postNotificationName:kNotificationName 
object:sentObject];

and another custom QCPatch to receive data in another composition.

In the example posted, the receiver patch timeMode is set to 
kQCPlugInTimeModeNone
As expected the plugin.execute:atTime:withArguments doesn't get called when the 
notification is received. It only gets called when I move the patch around in 
QC.
I can fix this by setting the timeMode to kQCPlugInTimeModeIdle. It's easy to 
set a flag in the notificationCallback and in execute check that and only write 
to output when there is actually new data, but I was wondering if there is a 
way to keep the timeMode to none, and from the notificationCallback force an 
execute so the receiver execute isn't unnecessarily running and constantly 
checking the flag to see if there is new data?

Cheers,

Memo.



        
29 Ironworks. Dace Rd. London E3 2NX, UK
mob : +44 (0) 7958 783 832
tel : +44 (0) 20 8123 9986
fax : +44 (0) 20 8986 5496

work: www.msavisuals.com
play: www.memo.tv


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to