74a75,88
> // Interface for things with names. (cf. SimObject but without other
> // functionality). This is useful when using DPRINTF
> class Named
> {
> protected:
> const std::string _name;
>
> public:
> Named(const std::string &name_) : _name(name_) { }
>
> public:
> const std::string &name() const { return _name; }
> };
>