Go to the documentation of this file.
69 destinationField_(NULL) {
90 destinationField_(NULL) {
155 const string procName =
"MoveSlot::setName";
176 const string procName =
"MoveSlot::setGuardField";
238 const string procName =
"MoveSlot::setSourceField";
301 const string procName =
"MoveSlot::setDestinationField";
443 for (
int i = 0; i < newState->
childCount(); i++) {
455 const string procName =
"MoveSlot::loadState";
457 __FILE__, __LINE__, procName, exception.
errorMessage());
static const std::string OSNAME_MOVE_SLOT
ObjectState name for move slot.
std::string stringAttribute(const std::string &name) const
void removeMoveSlot(MoveSlot &slot)
virtual void loadState(const ObjectState *state)
virtual InstructionField & childField(int position) const
bool hasGuardField() const
GuardField * guardField_
The guard field.
void unsetDestinationField()
void setName(const std::string &name)
static NullInstructionField & instance()
static NullSourceField & instance()
virtual ObjectState * saveState() const
void setName(const std::string &name)
#define assert(condition)
bool hasSourceField() const
void deleteDestinationField()
static NullGuardField & instance()
GuardField & guardField() const
bool hasDestinationField() const
MoveSlot * parent() const
void setParent(InstructionField *parent)
InstructionField * parent() const
virtual int width() const
static const std::string OSNAME_DESTINATION_FIELD
ObjectState name for destination field.
ObjectState * child(int index) const
void addChild(ObjectState *child)
virtual int width() const
SourceField * sourceField_
The source field.
static void reorderSubfields(ObjectState *state)
virtual int width() const
SourceField & sourceField() const
std::string errorMessage() const
static const std::string OSNAME_GUARD_FIELD
ObjectState name for guard field.
virtual ObjectState * saveState() const
void setSourceField(SourceField &field)
void addMoveSlot(MoveSlot &slot)
BinaryEncoding * parent() const
virtual InstructionField & childField(int position) const
static NullDestinationField & instance()
virtual void loadState(const ObjectState *state)
std::string name_
The bus name.
static const std::string OSKEY_BUS_NAME
ObjectState attribute key for the name of the bus.
int relativePosition() const
void setDestinationField(DestinationField &field)
DestinationField & destinationField() const
void setGuardField(GuardField &field)
MoveSlot * parent() const
static const std::string OSNAME_SOURCE_FIELD
ObjectState name for source field.
virtual int childFieldCount() const
DestinationField * destinationField_
The destination field.
MoveSlot(const std::string &busName, BinaryEncoding &parent)
void setAttribute(const std::string &name, const std::string &value)
virtual int width() const