events: Give EventWrapped a default name and description

This commit is contained in:
Nathan Binkert
2010-02-26 18:09:41 -08:00
parent a70f70ccbf
commit a9f6c8edc3

View File

@@ -466,6 +466,14 @@ class EventWrapper : public Event
}
void process() { (object->*F)(); }
const std::string
name() const
{
return object->name() + ".wrapped_event";
}
const char *description() const { return "EventWrapped"; }
};
inline void