Dear, On 21 May 2009, at 07:51, 竺昱 wrote:
> Yes, I have already put _timer.initialize(this) in the initialize > method of this element. > I think this initialize method is not called. This can easily be tested with a click_chatter in that method. > > it still reports "void Timer::schedule_at(const Timestamp&): Assertion > `_router && initialized()' failed." > Could you assert on initialized() yourself? That way it is easier to find the cause of your problem. > Could you tell me when the initialize method of an element will be > called? See <http://www.read.cs.ucla.edu/click/doxygen/classElement.html#bf2bbb7d3ae5a1372a6af9d7bb8269fe >. Regards, Bart Braem -- Bart Braem PATS research group - IBBT Dept. of Mathematics and Computer Sciences University of Antwerp Campus Middelheim, G3.27 Middelheimlaan 1 B-2020 Antwerpen, Belgium Phone: +32 (0)3 265.38.82 Fax: +32 (0)3 265.37.77 Web: www.pats.ua.ac.be _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
