22 lines
966 B
C
22 lines
966 B
C
|
#ifndef DUMMIES_EXECUTABLECOMIFDUMMY_H_
|
||
|
#define DUMMIES_EXECUTABLECOMIFDUMMY_H_
|
||
|
|
||
|
#include <fsfw/devicehandlers/DeviceCommunicationIF.h>
|
||
|
#include <fsfw/objectmanager/SystemObject.h>
|
||
|
#include <fsfw/tasks/ExecutableObjectIF.h>
|
||
|
|
||
|
class ExecutableComIfDummy : public ExecutableObjectIF,
|
||
|
public DeviceCommunicationIF,
|
||
|
public SystemObject {
|
||
|
public:
|
||
|
ExecutableComIfDummy(object_id_t objectId);
|
||
|
ReturnValue_t performOperation(uint8_t operationCode = 0) override;
|
||
|
ReturnValue_t initializeInterface(CookieIF *cookie) override;
|
||
|
ReturnValue_t sendMessage(CookieIF *cookie, const uint8_t *sendData, size_t sendLen) override;
|
||
|
ReturnValue_t getSendSuccess(CookieIF *cookie) override;
|
||
|
ReturnValue_t requestReceiveMessage(CookieIF *cookie, size_t requestLen) override;
|
||
|
ReturnValue_t readReceivedMessage(CookieIF *cookie, uint8_t **buffer, size_t *size) override;
|
||
|
};
|
||
|
|
||
|
#endif /* DUMMIES_EXECUTABLECOMIFDUMMY_H_ */
|