base
This commit is contained in:
31
DRAM/src/core/Controller.h
Normal file
31
DRAM/src/core/Controller.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* controller.h
|
||||
*
|
||||
* Created on: Mar 5, 2014
|
||||
* Author: jonny
|
||||
*/
|
||||
|
||||
#ifndef CONTROLLER_H_
|
||||
#define CONTROLLER_H_
|
||||
|
||||
#include <tlm.h>
|
||||
#include "scheduling/CommandGenerator.h"
|
||||
|
||||
namespace controller {
|
||||
|
||||
class Controller {
|
||||
public:
|
||||
Controller();
|
||||
virtual ~Controller();
|
||||
|
||||
bool schedule(tlm::tlm_generic_payload* externalTransaction);//return TLM status??
|
||||
|
||||
private:
|
||||
ControllerState state;
|
||||
CommandGenerator commandGenerator;
|
||||
|
||||
};
|
||||
|
||||
} /* namespace controller */
|
||||
|
||||
#endif /* CONTROLLER_H_ */
|
||||
Reference in New Issue
Block a user