2020-03-23 19:09:42 +01:00
|
|
|
/**
|
|
|
|
* @file CookieIF.h
|
|
|
|
*
|
2020-03-23 19:14:36 +01:00
|
|
|
* @date 23.03.2020
|
2020-03-23 19:09:42 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FRAMEWORK_DEVICEHANDLERS_COOKIEIF_H_
|
|
|
|
#define FRAMEWORK_DEVICEHANDLERS_COOKIEIF_H_
|
|
|
|
#include <framework/devicehandlers/DeviceHandlerIF.h>
|
|
|
|
|
2020-03-26 15:20:17 +01:00
|
|
|
/**
|
|
|
|
* @brief Physical address type
|
|
|
|
*/
|
|
|
|
typedef uint32_t address_t;
|
|
|
|
|
2020-03-23 19:09:42 +01:00
|
|
|
class CookieIF {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Default empty virtual destructor.
|
|
|
|
*/
|
|
|
|
virtual ~CookieIF() {};
|
|
|
|
|
|
|
|
virtual void setAddress(address_t logicalAddress_) = 0;
|
|
|
|
virtual address_t getAddress() const = 0;
|
|
|
|
|
|
|
|
virtual void setMaxReplyLen(size_t maxReplyLen_) = 0;
|
|
|
|
virtual size_t getMaxReplyLen() const = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FRAMEWORK_DEVICEHANDLERS_COOKIEIF_H_ */
|