This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
fsfw_example_public/mission/devices/TestCookie.h

23 lines
495 B
C
Raw Permalink Normal View History

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