fsfw/src/fsfw_tests/integration/devices/TestCookie.h

25 lines
503 B
C
Raw Normal View History

2021-10-17 23:27:31 +02:00
#ifndef MISSION_DEVICES_TESTCOOKIE_H_
#define MISSION_DEVICES_TESTCOOKIE_H_
#include <fsfw/devicehandlers/CookieIF.h>
2022-02-02 10:29:30 +01:00
2021-10-17 23:27:31 +02:00
#include <cstddef>
/**
* @brief Really simple cookie which does not do a lot.
*/
2022-02-02 10:29:30 +01:00
class TestCookie : public CookieIF {
public:
TestCookie(address_t address, size_t maxReplyLen);
virtual ~TestCookie();
address_t getAddress() const;
size_t getReplyMaxLen() const;
2021-10-17 23:27:31 +02:00
2022-02-02 10:29:30 +01:00
private:
address_t address = 0;
size_t replyMaxLen = 0;
2021-10-17 23:27:31 +02:00
};
#endif /* MISSION_DEVICES_TESTCOOKIE_H_ */