31 lines
563 B
C++
31 lines
563 B
C++
/*
|
|
* IRefreshManager.h
|
|
*
|
|
* Created on: Mar 9, 2014
|
|
* Author: jonny
|
|
*/
|
|
|
|
#ifndef IREFRESHMANAGER_H_
|
|
#define IREFRESHMANAGER_H_
|
|
|
|
#include <systemc.h>
|
|
#include <vector>
|
|
#include "core/scheduling/CommandBus.h"
|
|
#include "core/Configuration.h"
|
|
#include "core/scheduling/ScheduledCommand.h"
|
|
|
|
namespace controller {
|
|
|
|
class IRefreshManager
|
|
{
|
|
public:
|
|
virtual ~IRefreshManager() {}
|
|
|
|
virtual bool hasCollision(const CommandSchedule& schedule) = 0;
|
|
virtual void scheduleRefresh(sc_time time) = 0;
|
|
};
|
|
|
|
} /* namespace controller */
|
|
|
|
#endif /* IREFRESHMANAGER_H_ */
|