Go to the documentation of this file.
34 #ifndef TTA_ITEMPLATERESOURCE_HH
35 #define TTA_ITEMPLATERESOURCE_HH
43 class InstructionTemplate;
56 virtual bool isInUse(
const int cycle)
const override;
57 virtual bool isAvailable(
const int cycle)
const override;
59 const int cycle,
const MoveNode& node)
const override;
60 virtual bool canAssign(
const int cycle)
const;
62 virtual void assign(
const int cycle);
64 virtual void unassign(
const int cycle);
66 void clear()
override;
ResourceRecordType resourceRecord_
virtual bool canAssign(const int cycle, const MoveNode &node) const override
virtual void unassign(const int cycle, MoveNode &node) override
virtual bool operator<(const SchedulingResource &other) const override
virtual void assign(const int cycle, MoveNode &node) override
virtual bool validateDependentGroups() override
virtual bool isAvailable(const int cycle) const override
ITemplateResource & operator=(const ITemplateResource &)
int initiationInterval() const
std::map< int, int > ResourceRecordType
TTAMachine::InstructionTemplate * template_
virtual bool validateRelatedGroups() override
virtual bool isITemplateResource() const override
virtual ~ITemplateResource()
virtual bool isInUse(const int cycle) const override
ITemplateResource(TTAMachine::InstructionTemplate &templ, unsigned int initiationInterval=0)