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