How do I insert a function or class call into the main event loop?
How do I insert a function or class call into the main event loop?
- Subject: How do I insert a function or class call into the main event loop?
- From: John Draper <email@hidden>
- Date: Mon, 22 Aug 2005 13:45:50 -0700
Hi,
I have a periodic function I need to call. I want to insert it into
the event loop.
Lets assume I have the following function I want to insert into an event
loop.
The function is a C++ method call. When I combine C++ with Obj C, I
usually
define a "bridge" class to bridge Obj C into making C++ calls.
for instance, in my bridge class, I might have an Obc Method call I
want to
insert into the event loop. The C++ Method call would look like this...
- (void)do_periodic
{
stack->process(myfdSet);
}
Now, I want to insert this into the event loop so it will be called
repeatedly. How do I do this
in Cocoa?
If you send me references to any documentation, please include the exact
URL that leads me to it.
Thanx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden