Class AssociationTableObject

Inheritance Relationships

Base Type

Class Documentation

class AssociationTableObject : public TableObject

Public Functions

AssociationTableObject(Memory &memory)
virtual const uint8_t *restore(const uint8_t *buffer) override

This method is called when the object should restore its state from the buffer.

Parameters

buffer – The buffer the object should restore its state from.

Returns

The buffer plus the size of the object state. The next object will use this value as the start of its buffer.

int32_t translateAsap(uint16_t asap)
int32_t nextAsap(uint16_t tsap, uint16_t &startIdx)

Protected Functions

virtual void beforeStateChange(LoadState &newState) override

This method is called before the interface object enters a new LoadState.

If there is a error changing the state newState should be set to LS_ERROR and errorCode() to a reason for the failure.