virtual ObjectState * saveState() const
virtual void loadState(const ObjectState *state)
virtual bool isEmpty() const
virtual void ensureRegistration(const Component &component) const
static NullInstructionTemplate instance_
The only instance of NullInstructionTemplate.
virtual void addSlot(const std::string &slotName, int width, ImmediateUnit &dstUnit)
NullInstructionTemplate()
virtual void removeSlot(const std::string &slotName)
virtual int numberOfSlots(const ImmediateUnit &dstUnit) const
virtual int slotCount() const
#define abortWithError(message)
virtual void unsetMachine()
virtual void removeSlots(const ImmediateUnit &dstUnit)
virtual int supportedWidth() const
virtual bool isRegistered() const
virtual bool destinationUsesSlot(const std::string &slotName, const ImmediateUnit &dstUnit) const
virtual TemplateSlot * slot(int index) const
virtual ImmediateUnit * destinationOfSlot(const std::string &slotName) const
static Machine machine_
Machine to which the null instruction template is registered.
static NullInstructionTemplate & instance()
virtual bool usesSlot(const std::string &slotName) const
virtual bool isOneOfDestinations(const ImmediateUnit &dstUnit) const
virtual int numberOfDestinations() const
virtual std::string slotOfDestination(const ImmediateUnit &dstUnit, int index) const
virtual void setMachine(Machine &machine)
virtual TCEString name() const
virtual Machine * machine() const
virtual ~NullInstructionTemplate()
virtual void setName(const std::string &name)