eive-obsw/mission/tmtc/DirectTmSinkIF.h

22 lines
510 B
C
Raw Normal View History

2023-03-09 12:20:13 +01:00
#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_ */