knx
ETS configurable knx-stack
application_program_object.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "table_object.h"
4 #include "bits.h"
5 
7 {
8  public:
10  uint8_t* save(uint8_t* buffer) override;
11  const uint8_t* restore(const uint8_t* buffer) override;
12  uint16_t saveSize() override;
13  uint8_t* data(uint32_t addr);
14  uint8_t getByte(uint32_t addr);
15  uint16_t getWord(uint32_t addr);
16  uint32_t getInt(uint32_t addr);
17  double getFloat(uint32_t addr, ParameterFloatEncodings encoding);
18 };
ParameterFloatEncodings
Definition: bits.h:149
const uint8_t * restore(const uint8_t *buffer) override
This method is called when the object should restore its state from the buffer.
uint8_t * save(uint8_t *buffer) override
This method is called when the object should save its state to the buffer.
double getFloat(uint32_t addr, ParameterFloatEncodings encoding)
Definition: memory.h:37
This class provides common functionality for interface objects that are configured by ETS with MemorW...
Definition: table_object.h:13
uint8_t * data()
returns the internal data of the interface object.