eventq.hh (5738:6ea35903c420) eventq.hh (5768:ba6f2477d870)
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
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 }
212 virtual ~Event();
213 virtual const std::string name() const;
216
214
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 ---
215 /// Return a C string describing the event. This string should
216 /// *not* be dynamically allocated; just a const char array
217 /// describing the event class.
218 virtual const char *description() const;
219
220 /// Dump the current event data
221 void dump() const;
222

--- 301 unchanged lines hidden ---