|
From: | donalson |
Subject: | Identifying a pointer to an event |
Date: | Wed, 27 Sep 2000 16:57:24 -0700 |
When I schedule an event, I save the event id as
such:
sizeEvent.eventId=[sizeEvent.subSchedId
at: sizeEvent.subSchedTime createActionTo: self message: M(atMaxSize1
)];
Can I do the following to check later that it is still a
valid "event pointer"?
if ( [sizeEvent.eventId getClass]
== id_ActionConcurrent_c )
In other words, is size Event.eventId an
id_ActionConcurrent_c?
Cheers,
D4
*********************************************************************
* Dr. Doug Donalson Office: (805) 893-2962 * Ecology, Evolution, Home: (805) 961-4447 * and Marine Biology email address@hidden * UC Santa Barbara * Santa Barbara Ca. 93106 ********************************************************************* * * The most exciting phrase to hear in science, the one that * heralds new discoveries, is not "EUREKA" (I have found it) but * "That's funny ...?" * * Isaac Asimov * ********************************************************************* |
[Prev in Thread] | Current Thread | [Next in Thread] |