diag-trace 5.0.0
µOS++ Tracing Infrastructure
Loading...
Searching...
No Matches
trace-cpp-api-inlines.h File Reference

C++ header file with the inline implementations for the tracer class template. More...

#include <cstring>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  micro_os_plus
 The primary namespace for the µOS++ framework.
namespace  micro_os_plus::trace
 Tracing support namespace.
namespace  micro_os_plus::trace::detail
 Implementation details namespace.

Macros

#define MICRO_OS_PLUS_DIAG_TRACE_PRINTF_BUFFER_ARRAY_SIZE_INTEGER   (200)

Functions

void micro_os_plus::trace::dump_args (int argc, char *argv[], const char *name="main") noexcept
 Send the argv[] array to the trace output channel.
void micro_os_plus::trace::flush (void) noexcept
 Flush the trace output channel.
void micro_os_plus::trace::initialise (void) noexcept
 Initialise the trace output channel.
int micro_os_plus::trace::printf (const char *format,...) noexcept
 Write a formatted string to the trace output channel.
int micro_os_plus::trace::putchar (int c) noexcept
 Write the single character to the trace output channel.
int micro_os_plus::trace::puts (const char *s="") noexcept
 Write the string and a line terminator to the trace output channel.
int micro_os_plus::trace::vprintf (const char *format, std::va_list arguments) noexcept
 Write a formatted variable arguments list to the trace output channel.
ssize_t micro_os_plus::trace::write (const void *buf, std::size_t nbyte) noexcept
 Write the given number of bytes to the trace output channel.

Detailed Description

Class definitions are located in trace-cpp-api.h. Inline methods are separated into this file to improve project structure and maintainability.

Definition in file trace-cpp-api-inlines.h.

Macro Definition Documentation

◆ MICRO_OS_PLUS_DIAG_TRACE_PRINTF_BUFFER_ARRAY_SIZE_INTEGER

#define MICRO_OS_PLUS_DIAG_TRACE_PRINTF_BUFFER_ARRAY_SIZE_INTEGER   (200)