35#ifndef TTA_MACHINE_PART_HH
36#define TTA_MACHINE_PART_HH
bool operator()(const Component *a, const Component *b) const
void internalUnsetMachine()
virtual void setName(const std::string &name)
virtual void unsetMachine()=0
virtual Machine * machine() const
Component(const Component &)
Copying forbidden.
virtual void loadState(const ObjectState *state)
static const std::string OSKEY_NAME
ObjectState attribute key for the name of the component.
virtual void setMachine(Machine &machine)=0
static const std::string OSNAME_COMPONENT
ObjectState name for component.
Component & operator=(const Component &)
Assingment forbidden.
void internalSetMachine(Machine &machine)
std::string name_
Name of the component.
virtual bool isRegistered() const
Machine * machine_
Machine to which the component is registered.
virtual void ensureRegistration(const Component &component) const
virtual TCEString name() const
virtual ObjectState * saveState() const
static int idCounter_
Id just for comparison for sets and maps. More deterministic than pointer to the object.
MachinePart & operator=(const MachinePart &)
Assingment forbidden.
MachinePart(const MachinePart &)
Copying forbidden.
SubComponent & operator=(const SubComponent &)
Assingment forbidden.
SubComponent(const SubComponent &)
Copying forbidden.
bool operator()(const MachinePart *mp1, const MachinePart *mp2) const