eive-obsw/mission/tmtc/DirectTmSinkIF.h
Robin Mueller 49e3002abc
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
what is the IDE doing..
2023-03-09 12:20:13 +01:00

22 lines
510 B
C++

#ifndef MISSION_TMTC_DIRECTTMSINKIF_H_
#define MISSION_TMTC_DIRECTTMSINKIF_H_
#include <cstddef>
#include "fsfw/retval.h"
class DirectTmSinkIF {
public:
virtual ~DirectTmSinkIF() = default;
/**
* @brief Implememts the functionality to write to a TM sink directly
*
* @param data Pointer to buffer holding the data to write
* @param size Number of bytes to write
*/
virtual ReturnValue_t write(const uint8_t* data, size_t size) = 0;
};
#endif /* MISSION_TMTC_DIRECTTMSINKIF_H_ */