mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 02:27:33 +00:00
Big assert / debug clean up
This commit is contained in:
28
include/sta/debug/printing/printable_printf.hpp
Normal file
28
include/sta/debug/printing/printable_printf.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef STA_CORE_PRINTABLE_PRINTF_HPP
|
||||
#define STA_CORE_PRINTABLE_PRINTF_HPP
|
||||
|
||||
#include <sta/debug/printing/printable.hpp>
|
||||
|
||||
namespace sta
|
||||
{
|
||||
class PrintablePrintf : public Printable
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Printable Printf object
|
||||
*/
|
||||
PrintablePrintf();
|
||||
|
||||
/**
|
||||
* @brief Print string.
|
||||
*
|
||||
* @param str String buffer
|
||||
* @param length String length
|
||||
*/
|
||||
void print(const char * str, size_t length) override;
|
||||
};
|
||||
} // namespace sta
|
||||
|
||||
|
||||
|
||||
#endif // STA_CORE_PRINTABLE_PRINTF_HPP
|
Reference in New Issue
Block a user