21 const uint8_t*
restore(
const uint8_t* buffer)
override;
42 uint16_t
getTsap(uint16_t groupAddress);
50 bool contains(uint16_t groupAddress);
56 uint16_t* _groupAddresses = 0;
This class represents the group address table.
uint16_t getGroupAddress(uint16_t tsap)
Get the group address mapped to a TSAP.
bool contains(uint16_t groupAddress)
Check if the address table contains a group address.
uint16_t getTsap(uint16_t groupAddress)
Get the TSAP mapped to a group address.
AddressTableObject(Memory &memory)
The constructor.
void beforeStateChange(LoadState &newState) override
This method is called before the interface object enters a new LoadState.
const uint8_t * restore(const uint8_t *buffer) override
This method is called when the object should restore its state from the buffer.
uint16_t entryCount()
returns the number of group addresses of the object.
This class provides common functionality for interface objects that are configured by ETS with MemorW...