Go to the documentation of this file.
33 #ifndef TTA_UNIT_IMPLEMENTATION_HH
34 #define TTA_UNIT_IMPLEMENTATION_HH
41 class MachineImplementation;
57 virtual std::string
hdbFile()
const;
59 virtual int id()
const;
60 virtual std::string
unitName()
const;
63 virtual void setID(
int id);
int id_
Entry ID in the HDB.
std::string unitName_
Name of the unit in ADF.
virtual void setParent(MachineImplementation &parent)
static const std::string OSKEY_HDB_FILE
ObjectState attribute key for the name of the HDB file.
virtual void setHDBFile(std::string file)
void loadState(const ObjectState *state)
UnitImplementationLocation(const std::string &hdbFile, int id, const std::string &unitName)
virtual void setID(int id)
static const std::string OSKEY_ID
ObjectState attribute key for the entry ID.
virtual std::string unitName() const
static const std::string OSKEY_UNIT_NAME
Objectstate attribute key for the name of the unit.
ObjectState * saveState() const
std::string hdbFile_
Name of the HDB file.
MachineImplementation * parent_
The parent MachineImplementation instance.
virtual std::string hdbFile() const
static const std::string OSNAME_UNIT_IMPLEMENTATION
ObjectState name for unit implementation.
virtual ~UnitImplementationLocation()
std::string hdbFileOriginal() const