sim_events.hh (7820:4ee66d8c1dd8) sim_events.hh (7821:f1d298b7416c)
1/*
2 * Copyright (c) 2002-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;

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

50 std::string getCause() { return cause; }
51 int getCode() { return code; }
52
53 void process(); // process event
54
55 virtual const char *description() const;
56};
57
1/*
2 * Copyright (c) 2002-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;

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

50 std::string getCause() { return cause; }
51 int getCode() { return code; }
52
53 void process(); // process event
54
55 virtual const char *description() const;
56};
57
58class CountedDrainEvent : public SimLoopExitEvent
58class CountedDrainEvent : public Event
59{
60 private:
61 // Count of how many objects have not yet drained
62 int count;
63
64 public:
65 CountedDrainEvent();
66

--- 28 unchanged lines hidden ---
59{
60 private:
61 // Count of how many objects have not yet drained
62 int count;
63
64 public:
65 CountedDrainEvent();
66

--- 28 unchanged lines hidden ---