Go to the documentation of this file.
33 #ifndef TTA_SLOT_FIELD_HH
34 #define TTA_SLOT_FIELD_HH
80 virtual int width()
const;
NOPEncoding & noOperationEncoding() const
BinaryEncoding::Position componentIDPos_
Position of the socket and bridge IDs within the field.
bool hasSocketEncoding(const std::string &socket) const
virtual ObjectState * saveState() const
virtual int childFieldCount() const
bool hasNoOperationEncoding() const
SocketEncoding & socketEncoding(int index) const
void removeSocketEncoding(SocketEncoding &encoding)
void setNoOperationEncoding(NOPEncoding &encoding)
void clearNoOperationEncoding()
SocketEncodingTable encodings_
The container for socket encodings.
void clearSocketEncodings()
virtual int width() const
NOPEncoding * nopEncoding_
The NOP encoding.
BinaryEncoding::Position componentIDPosition() const
void unsetNoOperationEncoding()
void addSocketEncoding(SocketEncoding &encoding)
std::vector< SocketEncoding * > SocketEncodingTable
A container type for socket encodings.
virtual InstructionField & childField(int position) const
static const std::string OSNAME_SLOT_FIELD
ObjectState name for slot field.
int socketEncodingCount() const
static const std::string OSKEY_COMPONENT_ID_POSITION
ObjectState attribute key for component ID position.
SlotField(BinaryEncoding::Position componentIDPos, MoveSlot &parent)
MoveSlot * parent() const
virtual void loadState(const ObjectState *state)