Deleted Added
sdiff udiff text old ( 5738:6ea35903c420 ) new ( 5768:ba6f2477d870 )
full compact
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 195 unchanged lines hidden (view full) ---

204 queue = NULL;
205#endif
206#ifdef EVENTQ_DEBUG
207 whenCreated = curTick;
208 whenScheduled = 0;
209#endif
210 }
211
212 virtual
213 ~Event()
214 {
215 }
216
217 virtual const std::string
218 name() const
219 {
220#ifndef NDEBUG
221 return csprintf("Event_%d", instance);
222#else
223 return csprintf("Event_%x", (uintptr_t)this);
224#endif
225 }
226
227 /// Return a C string describing the event. This string should
228 /// *not* be dynamically allocated; just a const char array
229 /// describing the event class.
230 virtual const char *description() const;
231
232 /// Dump the current event data
233 void dump() const;
234

--- 301 unchanged lines hidden ---