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 "mem/ruby/common/Consumer.hh"
6#include "mem/protocol/MachineType.hh"
7#include "mem/ruby/common/Address.hh"
8
9class MessageBuffer;
10class Network;
11
12class AbstractController : public Consumer {
13public:
14 AbstractController() {}
15 virtual void init(Network* net_ptr, const vector<string> & argv) = 0;
16
17 // returns the number of controllers created of the specific subtype
18 // virtual int getNumberOfControllers() const = 0;
19 virtual MessageBuffer* getMandatoryQueue() const = 0;
20 virtual const int & getVersion() const = 0;
21 virtual const string toString() const = 0; // returns text version of controller type
22 virtual const string getName() const = 0; // return instance name

--- 14 unchanged lines hidden ---