Class ApplicationProgramObject

Inheritance Relationships

Base Type

Class Documentation

class ApplicationProgramObject : public TableObject

Public Functions

ApplicationProgramObject(Memory &memory)
virtual uint8_t *save(uint8_t *buffer) override

This method is called when the object should save its state to the buffer.

Parameters:

buffer – The buffer the object should save its state to.

Returns:

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

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.

virtual uint16_t saveSize() override
Returns:

The maximum number of bytes the object needs to save its state.

uint8_t *data(uint32_t addr)
uint8_t getByte(uint32_t addr)
uint16_t getWord(uint32_t addr)
uint32_t getInt(uint32_t addr)
double getFloat(uint32_t addr, ParameterFloatEncodings encoding)