[pdp-discuss] finding cur_event
Richard Jones
dickjr at gmail.com
Thu Oct 19 14:17:54 MDT 2006
Hi all,
In building my own TrialProcess object I had a bit of trouble figuring
out how to get my cur_event. It was not, as I initially assumed,
magically handed to me by my super_proc. I've gotten around this for
the time being by putting
EpochProcess* parent = (EpochProcess*)super_proc;
cur_event = parent->cur_event;
in my trial's Loop(). However, it seems kind of cheesy and it's not
something that the other trials (LeabraTrial, BPTrial, etc.) seem to
have to do. Also, it precludes me from plopping a SequenceProcess
above my trial. What is the preferred way of communicating the
cur_event down the process hierarchy?
--
Richard Jones
dickjr at gmail.com
More information about the PDP-Discuss
mailing list