Deleted Added
sdiff udiff text old ( 6876:a658c315512c ) new ( 6877:2a1a3d916ca8 )
full compact
1
2#ifndef ABSTRACTCONTROLLER_H
3#define ABSTRACTCONTROLLER_H
4
5#include "sim/sim_object.hh"
6#include "params/RubyController.hh"
7
8#include "mem/ruby/common/Consumer.hh"
9#include "mem/protocol/MachineType.hh"
10#include "mem/ruby/common/Address.hh"
11
12class MessageBuffer;
13class Network;
14
15class AbstractController : public SimObject, public Consumer {
16public:
17 typedef RubyControllerParams Params;
18 AbstractController(const Params *p) : SimObject(p) {}
19
20 // returns the number of controllers created of the specific subtype
21 // virtual int getNumberOfControllers() const = 0;
22 virtual MessageBuffer* getMandatoryQueue() const = 0;
23 virtual const int & getVersion() const = 0;
24 virtual const string toString() const = 0; // returns text version of controller type
25 virtual const string getName() const = 0; // return instance name
26 virtual const MachineType getMachineType() const = 0;

--- 13 unchanged lines hidden ---