knx/address_table_object.h

25 lines
747 B
C
Raw Normal View History

2018-04-09 22:30:23 +02:00
#pragma once
#include "table_object.h"
class AddressTableObject: public TableObject
{
public:
AddressTableObject(uint8_t* memoryReference);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
void readProperty(PropertyID id, uint32_t start, uint32_t& count, uint8_t* data);
#pragma GCC diagnostic pop
2018-04-09 22:30:23 +02:00
uint16_t entryCount();
uint16_t getGa(uint16_t tsap);
uint16_t getTsap(uint16_t ga);
uint8_t* save(uint8_t* buffer);
uint8_t* restore(uint8_t* buffer);
bool contains(uint16_t addr);
protected:
virtual void beforeStateChange(LoadState& newState);
uint8_t propertyCount();
PropertyDescription* propertyDescriptions();
2018-04-09 22:30:23 +02:00
private:
uint16_t* _groupAddresses;
};