Deleted Added
sdiff udiff text old ( 6863:21fbf0412e0d ) new ( 6876:a658c315512c )
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 virtual void init(Network* net_ptr, const vector<string> & argv) = 0;
20
21 // returns the number of controllers created of the specific subtype
22 // virtual int getNumberOfControllers() const = 0;
23 virtual MessageBuffer* getMandatoryQueue() const = 0;
24 virtual const int & getVersion() const = 0;
25 virtual const string toString() const = 0; // returns text version of controller type
26 virtual const string getName() const = 0; // return instance name

--- 14 unchanged lines hidden ---