|
diag-trace 5.0.0
µOS++ Tracing Infrastructure
|
User-supplied back-end primitives that define the trace channel. More...
Functions | |
| 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. | |
| 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. | |
The following functions must be implemented by the user and are specific to each individual trace channel.
|
inlinenoexcept |
Thin wrapper over tracer<T>::flush().
Definition at line 229 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::flush().
|
inlinenoexcept |
Thin wrapper over tracer<T>::initialise(). Called during startup to enable the trace channel.
Definition at line 217 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::initialise().
|
inlinenoexcept |
| buf | An array of bytes. |
| nbyte | The number of bytes in the array. |
Thin wrapper over tracer<T>::write().
Definition at line 223 of file trace-cpp-api-inlines.h.
References micro_os_plus::trace::detail::tracer< T >::write().
Referenced by micro_os_plus::trace::detail::tracer< T >::putchar(), micro_os_plus::trace::detail::tracer< T >::puts(), and micro_os_plus::trace::detail::tracer< T >::vprintf().